Boost logo

Boost Users :

From: Gero Peterhoff (g.peterhoff_at_[hidden])
Date: 2023-04-20 17:21:45


Am 20.04.23 um 18:38 schrieb John Maddock via Boost-users:
> On 20/04/2023 16:58, Gero Peterhoff via Boost-users wrote:
>> Hi John,
>> some functions do not work with multiprecision-integer-types, e.g.
>>
>> using T = boost::multiprecision::int256_t;
>> using ::std::isinf;
>>
>> const auto x = T{5};
>> const auto y = isinf(x); // ct error
>> std::cout << y << std::endl;
>>
>> gives a CT error.
>>
> Correct.  Those functions are pretty meaningless in the context of integer types, and no one has ever asked for them.
>
> John.


Ok, herewith I ask for it then :-) Finally this is relevant in the template context or a functions with std- AND multiprecision-types should/must work.

thx
Gero




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net