On 15/05/2020 11:03, A.Dmitrovsky via Boost-users wrote:
Hi,
Boost::multiprecision docs [1] mentions that the type parameter of number::convert_to method should be "fundamental", pointing to the list of standard types ('A |number| can be converted to any fundamental (built-in) <https://en.cppreference.com/w/cpp/language/types> type)'. This is different to number::convert_to reference [2], which states that "Type |T| may be any arithmetic type". Can [unsigned] __int128 be treated as "fundamental" on compilers/platforms which support it?

Yes, it was an oversight - I thought I'd fixed this recently actually, so I might need to investigate some more...


[1] https://www.boost.org/doc/libs/1_73_0/libs/multiprecision/doc/html/boost_multiprecision/tut/conversions.html [2] https://www.boost.org/doc/libs/1_73_0/libs/multiprecision/doc/html/boost_multiprecision/ref/number.html
Regards,
Anton

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to