Suffix l missing in C++ standard header <numbers>

Helmut Burkhardt via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 30 09:41:50 PDT 2023


Dear llvm front end team

The clang precision of <long double> mathematical constants is the same as for <double>

Please add the suffix l. Example :
template <floating_point _Tp> inline constexpr _Tp e_v<_Tp>          = 2.718281828459045235360287471352662;
—>
template <floating_point _Tp> inline constexpr _Tp e_v<_Tp>          = 2.718281828459045235360287471352662l;
and the following lines

to actually provide long double precision.

Kind regards
   Helmut Burkhardt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230930/c7d4d14d/attachment-0001.html>


More information about the cfe-commits mailing list