OSDN Git Service

libstdc++/7680
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Apr 2003 07:27:55 +0000 (07:27 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Apr 2003 07:27:55 +0000 (07:27 +0000)
commit5ca042e24cf6c62ef047b165ddd835a79d6edbea
treeb7f2811a24af9915abfb1d6a734f879409a92d41
parent32c6f88a529a10345a3ab994e9a7cbc3ccc19fe5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65624 138bc75d-0d04-0410-961f-82ee72b054a4
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]