2002-03-23 04:19:03 +01:00
|
|
|
// -*- C++ -*- C forwarding header.
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2005-01-16 10:59:06 +01:00
|
|
|
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005
|
2002-03-23 04:19:03 +01:00
|
|
|
// Free Software Foundation, Inc.
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
//
|
|
|
|
// This file is part of the GNU ISO C++ Library. This library is free
|
|
|
|
// software; you can redistribute it and/or modify it under the
|
|
|
|
// terms of the GNU General Public License as published by the
|
|
|
|
// Free Software Foundation; either version 2, or (at your option)
|
|
|
|
// any later version.
|
|
|
|
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License along
|
|
|
|
// with this library; see the file COPYING. If not, write to the Free
|
|
|
|
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
|
|
// USA.
|
|
|
|
|
|
|
|
// As a special exception, you may use this file as part of a free software
|
|
|
|
// library without restriction. Specifically, if other files instantiate
|
|
|
|
// templates or use macros or inline functions from this file, or you compile
|
|
|
|
// this file and link it with other files to produce an executable, this
|
|
|
|
// file does not by itself cause the resulting executable to be covered by
|
|
|
|
// the GNU General Public License. This exception does not however
|
|
|
|
// invalidate any other reasons why the executable file might be covered by
|
|
|
|
// the GNU General Public License.
|
|
|
|
|
|
|
|
//
|
|
|
|
// ISO C++ 14882: 26.5 C library
|
|
|
|
//
|
|
|
|
|
Makefile.am (doxygen, [...]): Tweak targets.
2002-01-28 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
* Makefile.in: Regenerate.
* docs/doxygen/run_doxygen: Update, mostly for man pages.
* docs/doxygen/Intro.3: Update.
* docs/doxygen/TODO: Update.
* docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
* docs/doxygen/mainpage.doxy: Update.
* docs/doxygen/user.cfg.in: Update for header rename. Also
regenerate comments and variables with 1.2.12.
* docs/doxygen/maint.cfg.in: Remove file.
* include/bits/stl_relops.h: Doxygenate.
* include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
include/c_std/std_ciso646.h, include/c_std/std_climits.h,
include/c_std/std_clocale.h, include/c_std/std_cmath.h,
include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
include/c_std/std_cstring.h, include/c_std/std_ctime.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
include/ext/algorithm, include/ext/functional, include/ext/hash_map,
include/ext/hash_set, include/ext/iterator, include/ext/memory,
include/ext/numeric, include/ext/rb_tree, include/ext/rope,
include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
include/ext/stl_hashtable.h, include/ext/stl_rope.h,
include/std/std_algorithm.h, include/std/std_bitset.h,
include/std/std_complex.h, include/std/std_deque.h,
include/std/std_fstream.h, include/std/std_functional.h,
include/std/std_iomanip.h, include/std/std_ios.h,
include/std/std_iosfwd.h, include/std/std_iostream.h,
include/std/std_istream.h, include/std/std_iterator.h,
include/std/std_limits.h, include/std/std_list.h,
include/std/std_locale.h, include/std/std_map.h,
include/std/std_memory.h, include/std/std_numeric.h,
include/std/std_ostream.h, include/std/std_queue.h,
include/std/std_set.h, include/std/std_sstream.h,
include/std/std_stack.h, include/std/std_stdexcept.h,
include/std/std_streambuf.h, include/std/std_string.h,
include/std/std_utility.h, include/std/std_valarray.h,
include/std/std_vector.h: Add/correct @file doxygen hook.
* include/ext/memory: Doxygenate most of rest of file.
* libsupc++/exception: Doxygen output formatting.
* libsupc++/new: Say which header it is.
* testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
* docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
* docs/html/23_containers/howto.html: Describe O(n) list::size().
* docs/html/27_io/howto.html: Also link to Langer and Kreft text.
From-SVN: r49300
2002-01-28 23:13:12 +01:00
|
|
|
/** @file cmath
|
|
|
|
* This is a Standard C++ Library file. You should @c #include this file
|
|
|
|
* in your programs, rather than any of the "*.h" implementation files.
|
|
|
|
*
|
|
|
|
* This is the C++ version of the Standard C Library header @c math.h,
|
|
|
|
* and its contents are (mostly) the same as that header, but are all
|
|
|
|
* contained in the namespace @c std.
|
|
|
|
*/
|
|
|
|
|
2003-07-23 17:28:44 +02:00
|
|
|
#ifndef _GLIBCXX_CMATH
|
|
|
|
#define _GLIBCXX_CMATH 1
|
2002-03-23 04:19:03 +01:00
|
|
|
|
|
|
|
#pragma GCC system_header
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2000-12-22 01:27:01 +01:00
|
|
|
#include <bits/c++config.h>
|
2003-05-11 11:07:17 +02:00
|
|
|
#include <bits/cpp_type_traits.h>
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2001-09-04 23:42:24 +02:00
|
|
|
#include <math.h>
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2001-02-05 23:27:40 +01:00
|
|
|
// Get rid of those macros defined in <math.h> in lieu of real functions.
|
|
|
|
#undef abs
|
|
|
|
#undef div
|
|
|
|
#undef acos
|
|
|
|
#undef asin
|
|
|
|
#undef atan
|
|
|
|
#undef atan2
|
|
|
|
#undef ceil
|
|
|
|
#undef cos
|
|
|
|
#undef cosh
|
|
|
|
#undef exp
|
|
|
|
#undef fabs
|
|
|
|
#undef floor
|
|
|
|
#undef fmod
|
|
|
|
#undef frexp
|
|
|
|
#undef ldexp
|
|
|
|
#undef log
|
|
|
|
#undef log10
|
|
|
|
#undef modf
|
|
|
|
#undef pow
|
|
|
|
#undef sin
|
|
|
|
#undef sinh
|
2001-05-26 09:03:23 +02:00
|
|
|
#undef sqrt
|
2001-02-05 23:27:40 +01:00
|
|
|
#undef tan
|
|
|
|
#undef tanh
|
|
|
|
|
2003-04-15 09:27:55 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
namespace std
|
2000-12-22 01:27:01 +01:00
|
|
|
{
|
|
|
|
// Forward declaration of a helper function. This really should be
|
|
|
|
// an `exported' forward declaration.
|
|
|
|
template<typename _Tp> _Tp __cmath_power(_Tp, unsigned int);
|
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline double
|
|
|
|
abs(double __x)
|
|
|
|
{ return __builtin_fabs(__x); }
|
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
inline float
|
|
|
|
abs(float __x)
|
|
|
|
{ return __builtin_fabsf(__x); }
|
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline long double
|
|
|
|
abs(long double __x)
|
|
|
|
{ return __builtin_fabsl(__x); }
|
|
|
|
|
2001-06-09 01:22:26 +02:00
|
|
|
using ::acos;
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
|
|
|
|
inline float
|
|
|
|
acos(float __x)
|
|
|
|
{ return __builtin_acosf(__x); }
|
|
|
|
|
|
|
|
inline long double
|
|
|
|
acos(long double __x)
|
|
|
|
{ return __builtin_acosl(__x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
acos(_Tp __x)
|
|
|
|
{
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
return __builtin_acos(__x);
|
2003-05-11 11:07:17 +02:00
|
|
|
}
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::asin;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
asin(float __x)
|
|
|
|
{ return __builtin_asinf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
asin(long double __x)
|
|
|
|
{ return __builtin_asinl(__x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
asin(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_asin(__x); }
|
2003-05-11 11:07:17 +02:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::atan;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
atan(float __x)
|
|
|
|
{ return __builtin_atanf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
atan(long double __x)
|
|
|
|
{ return __builtin_atanl(__x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
atan(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_atan(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::atan2;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
2000-12-22 01:27:01 +01:00
|
|
|
atan2(float __y, float __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_atan2f(__y, __x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
atan2(long double __y, long double __x)
|
|
|
|
{ return __builtin_atan2l(__y, __x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp, typename _Up>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value
|
|
|
|
&& __is_integer<_Up>::__value>::__type
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
atan2(_Tp __y, _Up __x)
|
|
|
|
{ return __builtin_atan2(__y, __x); }
|
2003-05-11 11:07:17 +02:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::ceil;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
ceil(float __x)
|
|
|
|
{ return __builtin_ceilf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
ceil(long double __x)
|
|
|
|
{ return __builtin_ceill(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
ceil(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_ceil(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::cos;
|
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline float
|
|
|
|
cos(float __x)
|
|
|
|
{ return __builtin_cosf(__x); }
|
|
|
|
|
|
|
|
inline long double
|
|
|
|
cos(long double __x)
|
|
|
|
{ return __builtin_cosl(__x); }
|
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
cos(_Tp __x)
|
|
|
|
{ return __builtin_cos(__x); }
|
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::cosh;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
cosh(float __x)
|
|
|
|
{ return __builtin_coshf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
cosh(long double __x)
|
|
|
|
{ return __builtin_coshl(__x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
cosh(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_cosh(__x); }
|
2003-05-11 11:07:17 +02:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::exp;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
exp(float __x)
|
|
|
|
{ return __builtin_expf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
exp(long double __x)
|
|
|
|
{ return __builtin_expl(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
exp(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_exp(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::fabs;
|
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline float
|
|
|
|
fabs(float __x)
|
|
|
|
{ return __builtin_fabsf(__x); }
|
|
|
|
|
|
|
|
inline long double
|
|
|
|
fabs(long double __x)
|
|
|
|
{ return __builtin_fabsl(__x); }
|
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
fabs(_Tp __x)
|
|
|
|
{ return __builtin_fabs(__x); }
|
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::floor;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
floor(float __x)
|
|
|
|
{ return __builtin_floorf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
floor(long double __x)
|
|
|
|
{ return __builtin_floorl(__x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
floor(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_floor(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::fmod;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
2000-12-22 01:27:01 +01:00
|
|
|
fmod(float __x, float __y)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_fmodf(__x, __y); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
fmod(long double __x, long double __y)
|
|
|
|
{ return __builtin_fmodl(__x, __y); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::frexp;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
frexp(float __x, int* __exp)
|
|
|
|
{ return __builtin_frexpf(__x, __exp); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
frexp(long double __x, int* __exp)
|
|
|
|
{ return __builtin_frexpl(__x, __exp); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
frexp(_Tp __x, int* __exp)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_frexp(__x, __exp); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::ldexp;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
2000-12-22 01:27:01 +01:00
|
|
|
ldexp(float __x, int __exp)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_ldexpf(__x, __exp); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
ldexp(long double __x, int __exp)
|
|
|
|
{ return __builtin_ldexpl(__x, __exp); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
ldexp(_Tp __x, int __exp)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_ldexp(__x, __exp); }
|
2003-05-11 11:07:17 +02:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::log;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
log(float __x)
|
|
|
|
{ return __builtin_logf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
log(long double __x)
|
|
|
|
{ return __builtin_logl(__x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
log(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_log(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::log10;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
log10(float __x)
|
|
|
|
{ return __builtin_log10f(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
log10(long double __x)
|
|
|
|
{ return __builtin_log10l(__x); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
log10(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_log10(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::modf;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
2000-12-22 01:27:01 +01:00
|
|
|
modf(float __x, float* __iptr)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_modff(__x, __iptr); }
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
modf(long double __x, long double* __iptr)
|
|
|
|
{ return __builtin_modfl(__x, __iptr); }
|
2001-05-25 23:43:42 +02:00
|
|
|
|
2000-12-22 01:27:01 +01:00
|
|
|
template<typename _Tp>
|
|
|
|
inline _Tp
|
|
|
|
__pow_helper(_Tp __x, int __n)
|
|
|
|
{
|
|
|
|
return __n < 0
|
|
|
|
? _Tp(1)/__cmath_power(__x, -__n)
|
|
|
|
: __cmath_power(__x, __n);
|
|
|
|
}
|
2002-03-29 21:41:53 +01:00
|
|
|
|
|
|
|
using ::pow;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
2000-12-22 01:27:01 +01:00
|
|
|
pow(float __x, float __y)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_powf(__x, __y); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
pow(long double __x, long double __y)
|
|
|
|
{ return __builtin_powl(__x, __y); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline double
|
2000-12-22 01:27:01 +01:00
|
|
|
pow(double __x, int __i)
|
2005-02-13 11:25:02 +01:00
|
|
|
{ return __builtin_powi(__x, __i); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
2002-03-29 21:41:53 +01:00
|
|
|
pow(float __x, int __n)
|
2005-02-13 11:25:02 +01:00
|
|
|
{ return __builtin_powif(__x, __n); }
|
2002-03-29 21:41:53 +01:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
2001-05-25 23:43:42 +02:00
|
|
|
pow(long double __x, int __n)
|
2005-02-13 11:25:02 +01:00
|
|
|
{ return __builtin_powil(__x, __n); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::sin;
|
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline float
|
|
|
|
sin(float __x)
|
|
|
|
{ return __builtin_sinf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline long double
|
|
|
|
sin(long double __x)
|
|
|
|
{ return __builtin_sinl(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
sin(_Tp __x)
|
|
|
|
{ return __builtin_sin(__x); }
|
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::sinh;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
sinh(float __x)
|
|
|
|
{ return __builtin_sinhf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
sinh(long double __x)
|
|
|
|
{ return __builtin_sinhl(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
sinh(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_sinh(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::sqrt;
|
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline float
|
|
|
|
sqrt(float __x)
|
|
|
|
{ return __builtin_sqrtf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2001-05-25 23:43:42 +02:00
|
|
|
inline long double
|
|
|
|
sqrt(long double __x)
|
|
|
|
{ return __builtin_sqrtl(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
sqrt(_Tp __x)
|
|
|
|
{ return __builtin_sqrt(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::tan;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
tan(float __x)
|
|
|
|
{ return __builtin_tanf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
tan(long double __x)
|
|
|
|
{ return __builtin_tanl(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2003-05-11 11:07:17 +02:00
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
tan(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_tan(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2002-03-29 21:41:53 +01:00
|
|
|
using ::tanh;
|
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline float
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
tanh(float __x)
|
|
|
|
{ return __builtin_tanhf(__x); }
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
inline long double
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
tanh(long double __x)
|
|
|
|
{ return __builtin_tanhl(__x); }
|
2003-05-11 11:07:17 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
2005-02-01 14:30:34 +01:00
|
|
|
inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type
|
2003-05-11 11:07:17 +02:00
|
|
|
tanh(_Tp __x)
|
std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding...
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
From-SVN: r73629
2003-11-15 15:26:47 +01:00
|
|
|
{ return __builtin_tanh(__x); }
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
}
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2003-12-29 20:26:16 +01:00
|
|
|
#if _GLIBCXX_USE_C99_MATH
|
2003-07-05 06:05:45 +02:00
|
|
|
#if !_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC
|
2001-04-20 10:59:25 +02:00
|
|
|
// These are possible macros imported from C99-land. For strict
|
2001-05-30 13:34:26 +02:00
|
|
|
// conformance, remove possible C99-injected names from the global
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
// namespace, and sequester them in the __gnu_cxx extension namespace.
|
2001-05-30 13:34:26 +02:00
|
|
|
namespace __gnu_cxx
|
2001-04-20 10:59:25 +02:00
|
|
|
{
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-04-20 10:59:25 +02:00
|
|
|
__capture_fpclassify(_Tp __f) { return fpclassify(__f); }
|
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-04-20 10:59:25 +02:00
|
|
|
__capture_isfinite(_Tp __f) { return isfinite(__f); }
|
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-04-20 10:59:25 +02:00
|
|
|
__capture_isinf(_Tp __f) { return isinf(__f); }
|
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-04-20 10:59:25 +02:00
|
|
|
__capture_isnan(_Tp __f) { return isnan(__f); }
|
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-04-20 10:59:25 +02:00
|
|
|
__capture_isnormal(_Tp __f) { return isnormal(__f); }
|
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-04-20 10:59:25 +02:00
|
|
|
__capture_signbit(_Tp __f) { return signbit(__f); }
|
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-05-30 13:34:26 +02:00
|
|
|
__capture_isgreater(_Tp __f1, _Tp __f2)
|
|
|
|
{ return isgreater(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
2001-05-30 13:34:26 +02:00
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
__capture_isgreaterequal(_Tp __f1, _Tp __f2)
|
2001-05-30 13:34:26 +02:00
|
|
|
{ return isgreaterequal(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
2001-05-30 13:34:26 +02:00
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2001-05-30 13:34:26 +02:00
|
|
|
__capture_isless(_Tp __f1, _Tp __f2) { return isless(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
2001-05-30 13:34:26 +02:00
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
__capture_islessequal(_Tp __f1, _Tp __f2)
|
2001-05-30 13:34:26 +02:00
|
|
|
{ return islessequal(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
2001-05-30 13:34:26 +02:00
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
__capture_islessgreater(_Tp __f1, _Tp __f2)
|
2001-05-30 13:34:26 +02:00
|
|
|
{ return islessgreater(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
2001-05-30 13:34:26 +02:00
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
__capture_isunordered(_Tp __f1, _Tp __f2)
|
2001-05-30 13:34:26 +02:00
|
|
|
{ return isunordered(__f1, __f2); }
|
2003-04-18 08:58:42 +02:00
|
|
|
}
|
2001-04-20 10:59:25 +02:00
|
|
|
|
2003-04-18 08:58:42 +02:00
|
|
|
// Only undefine the C99 FP macros, if actually captured for namespace movement
|
2001-04-20 10:59:25 +02:00
|
|
|
#undef fpclassify
|
|
|
|
#undef isfinite
|
|
|
|
#undef isinf
|
|
|
|
#undef isnan
|
|
|
|
#undef isnormal
|
|
|
|
#undef signbit
|
|
|
|
#undef isgreater
|
|
|
|
#undef isgreaterequal
|
|
|
|
#undef isless
|
|
|
|
#undef islessequal
|
|
|
|
#undef islessgreater
|
|
|
|
#undef isunordered
|
|
|
|
|
2005-01-16 10:59:06 +01:00
|
|
|
namespace std
|
2001-04-20 10:59:25 +02:00
|
|
|
{
|
|
|
|
template<typename _Tp>
|
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
fpclassify(_Tp __f) { return __gnu_cxx::__capture_fpclassify(__f); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
isfinite(_Tp __f) { return __gnu_cxx::__capture_isfinite(__f); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
isinf(_Tp __f) { return __gnu_cxx::__capture_isinf(__f); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
isnan(_Tp __f) { return __gnu_cxx::__capture_isnan(__f); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
isnormal(_Tp __f) { return __gnu_cxx::__capture_isnormal(__f); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
signbit(_Tp __f) { return __gnu_cxx::__capture_signbit(__f); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
isgreater(_Tp __f1, _Tp __f2)
|
|
|
|
{ return __gnu_cxx::__capture_isgreater(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
isgreaterequal(_Tp __f1, _Tp __f2)
|
2005-01-16 10:59:06 +01:00
|
|
|
{ return __gnu_cxx::__capture_isgreaterequal(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
2005-01-16 10:59:06 +01:00
|
|
|
isless(_Tp __f1, _Tp __f2)
|
|
|
|
{ return __gnu_cxx::__capture_isless(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
islessequal(_Tp __f1, _Tp __f2)
|
2005-01-16 10:59:06 +01:00
|
|
|
{ return __gnu_cxx::__capture_islessequal(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
islessgreater(_Tp __f1, _Tp __f2)
|
2005-01-16 10:59:06 +01:00
|
|
|
{ return __gnu_cxx::__capture_islessgreater(__f1, __f2); }
|
2001-04-20 10:59:25 +02:00
|
|
|
|
|
|
|
template<typename _Tp>
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
int
|
|
|
|
isunordered(_Tp __f1, _Tp __f2)
|
2005-01-16 10:59:06 +01:00
|
|
|
{ return __gnu_cxx::__capture_isunordered(__f1, __f2); }
|
2001-04-26 04:23:52 +02:00
|
|
|
}
|
2003-07-05 06:05:45 +02:00
|
|
|
#endif /* _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC */
|
2001-04-20 10:59:25 +02:00
|
|
|
#endif
|
cmath.tcc, [...]: Remove trailing whitespace.
* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
include/c_std/std_cctype.h, include/c_std/std_cmath.h,
include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
Remove trailing whitespace.
From-SVN: r74458
2003-12-09 04:44:35 +01:00
|
|
|
|
2003-07-30 18:51:51 +02:00
|
|
|
#ifndef _GLIBCXX_EXPORT_TEMPLATE
|
|
|
|
# include <bits/cmath.tcc>
|
2000-10-12 14:45:58 +02:00
|
|
|
#endif
|
configopts.html: Edit.
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36802
2000-10-09 10:43:31 +02:00
|
|
|
|
2000-12-22 01:27:01 +01:00
|
|
|
#endif
|