]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/26_numerics/headers/cmath/c_math_dynamic.cc
std_cmath.h (__gnu_cx::__c99_binding): New namespace.
authorLoren J. Rittle <ljrittle@acm.org>
Tue, 15 Apr 2003 07:27:55 +0000 (07:27 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Tue, 15 Apr 2003 07:27:55 +0000 (07:27 +0000)
commitb39d0359184bb3a8e9047c36b41af590519255bc
treeb7f2811a24af9915abfb1d6a734f879409a92d41
parent35a54b49e6d6a44a304228bf2f6b6c66ff1a3fbc
std_cmath.h (__gnu_cx::__c99_binding): New namespace.

libstdc++/7680
* include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
Populate it with multiple legal ways to obtain the C99 float
transcendentals.  Use them instead of direct global reference.
(C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
* docs/html/17_intro/porting.texi
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
(_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
* config/os/bsd/freebsd/os_defines.h
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
* testsuite/26_numerics/c_math_dynamic.cc: New file.

From-SVN: r65624
libstdc++-v3/ChangeLog
libstdc++-v3/config/os/bsd/freebsd/os_defines.h
libstdc++-v3/docs/html/17_intro/porting.texi
libstdc++-v3/include/c_std/std_cmath.h
libstdc++-v3/testsuite/26_numerics/c_math_dynamic.cc [new file with mode: 0644]