Re: errors in multiprecision

John Maddock via Boost-users <[email protected]> Thu, 20 Apr 2023 16:38:30 +0000
Newsgroups gmane.comp.lib.boost.user
Message-ID <010f01879f881c6a-55f0854e-86b2-468b-bbe8-f70e4b993d59-000000@us-east-2.amazonses.com>
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.

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users