aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-07-31 17:40:39 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-07-31 17:40:39 +0100
commit960b9ae05ac46f51370c30d30575e7a7fe6a3a99 (patch)
treef86baa42ce62743f6c9768e211ae81ec27975b32 /gcc/cp/lambda.c
parent27e6c1f4069316dcc2d0abc91fe36e36947c099e (diff)
downloadgcc-960b9ae05ac46f51370c30d30575e7a7fe6a3a99.zip
gcc-960b9ae05ac46f51370c30d30575e7a7fe6a3a99.tar.gz
gcc-960b9ae05ac46f51370c30d30575e7a7fe6a3a99.tar.bz2
Implement "P0631R4 Math Constants" for C++20
The values of the constants are taken from Glibc where the equivalent constant exists, or by rounding the actual constant to the same number of digits as the Glibc constants have. P0631R4 Math Constants * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * include/precompiled/stdc++.h: Include new header. * include/std/numbers: New header. * include/std/version (__cpp_lib_math_constants): Define. * testsuite/26_numerics/numbers/1.cc: New test. * testsuite/26_numerics/numbers/2.cc: New test. * testsuite/26_numerics/numbers/3.cc: New test. * testsuite/26_numerics/numbers/nonfloat_neg.cc: New test. From-SVN: r273940
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions