diff options
Diffstat (limited to 'contrib/libstdc++/libmath')
-rw-r--r-- | contrib/libstdc++/libmath/Makefile.am | 41 | ||||
-rw-r--r-- | contrib/libstdc++/libmath/Makefile.in | 492 | ||||
-rw-r--r-- | contrib/libstdc++/libmath/copysignf.c | 39 | ||||
-rw-r--r-- | contrib/libstdc++/libmath/mathconf.h | 309 | ||||
-rw-r--r-- | contrib/libstdc++/libmath/signbit.c | 41 | ||||
-rw-r--r-- | contrib/libstdc++/libmath/signbitf.c | 41 | ||||
-rw-r--r-- | contrib/libstdc++/libmath/signbitl.c | 48 | ||||
-rw-r--r-- | contrib/libstdc++/libmath/stubs.c | 455 |
8 files changed, 0 insertions, 1466 deletions
diff --git a/contrib/libstdc++/libmath/Makefile.am b/contrib/libstdc++/libmath/Makefile.am deleted file mode 100644 index f9a8d158a7f9..000000000000 --- a/contrib/libstdc++/libmath/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -## Makefile for the math subdirectory of the GNU C++ Standard library. -## -## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -## Free Software Foundation, Inc. -## -## This file is part of the libstdc++ version 3 distribution. -## Process this file with automake to produce Makefile.in. - -## 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -## USA. - -# May be used by various substitution variables. -gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) - -mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs - -noinst_LTLIBRARIES = libmath.la - -libmath_la_LIBADD = $(LIBMATHOBJS) - -libmath_la_DEPENDENCIES = $(libmath_la_LIBADD) - -libmath_la_SOURCES = stubs.c - -AM_CPPFLAGS = $(CANADIAN_INCLUDES) - -# Only compiling "C" sources in this directory. -LIBTOOL = @LIBTOOL@ --tag CC diff --git a/contrib/libstdc++/libmath/Makefile.in b/contrib/libstdc++/libmath/Makefile.in deleted file mode 100644 index 799720c425b7..000000000000 --- a/contrib/libstdc++/libmath/Makefile.in +++ /dev/null @@ -1,492 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -target_triplet = @target@ -subdir = libmath -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \ - $(top_srcdir)/../config/lead-dot.m4 \ - $(top_srcdir)/../config/multi.m4 \ - $(top_srcdir)/../config/no-executables.m4 \ - $(top_srcdir)/../config/unwind_ipinfo.m4 \ - $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \ - $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -LTLIBRARIES = $(noinst_LTLIBRARIES) -am__DEPENDENCIES_1 = -am_libmath_la_OBJECTS = stubs.lo -libmath_la_OBJECTS = $(am_libmath_la_OBJECTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -depcomp = -am__depfiles_maybe = -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(libmath_la_SOURCES) -DIST_SOURCES = $(libmath_la_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@ -ACLOCAL = @ACLOCAL@ -ALLOCATOR_H = @ALLOCATOR_H@ -ALLOCATOR_NAME = @ALLOCATOR_NAME@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@ -ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BASIC_FILE_CC = @BASIC_FILE_CC@ -BASIC_FILE_H = @BASIC_FILE_H@ -CC = @CC@ -CCODECVT_CC = @CCODECVT_CC@ -CCOLLATE_CC = @CCOLLATE_CC@ -CCTYPE_CC = @CCTYPE_CC@ -CFLAGS = @CFLAGS@ -CLOCALE_CC = @CLOCALE_CC@ -CLOCALE_H = @CLOCALE_H@ -CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ -CMESSAGES_CC = @CMESSAGES_CC@ -CMESSAGES_H = @CMESSAGES_H@ -CMONEY_CC = @CMONEY_CC@ -CNUMERIC_CC = @CNUMERIC_CC@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@ -CSTDIO_H = @CSTDIO_H@ -CTIME_CC = @CTIME_CC@ -CTIME_H = @CTIME_H@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -C_INCLUDE_DIR = @C_INCLUDE_DIR@ -DEBUG_FLAGS = @DEBUG_FLAGS@ -DEFS = @DEFS@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -ENABLE_SYMVERS_DARWIN_FALSE = @ENABLE_SYMVERS_DARWIN_FALSE@ -ENABLE_SYMVERS_DARWIN_TRUE = @ENABLE_SYMVERS_DARWIN_TRUE@ -ENABLE_SYMVERS_FALSE = @ENABLE_SYMVERS_FALSE@ -ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@ -ENABLE_SYMVERS_GNU_NAMESPACE_FALSE = @ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@ -ENABLE_SYMVERS_GNU_NAMESPACE_TRUE = @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@ -ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@ -ENABLE_SYMVERS_TRUE = @ENABLE_SYMVERS_TRUE@ -ENABLE_VISIBILITY_FALSE = @ENABLE_VISIBILITY_FALSE@ -ENABLE_VISIBILITY_TRUE = @ENABLE_VISIBILITY_TRUE@ -EXEEXT = @EXEEXT@ -EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ -GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@ -GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@ -GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@ -GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@ -GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@ -GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@ -GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@ -GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@ -GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@ -GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@ -GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@ -GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@ -GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@ -GLIBCXX_LDBL_COMPAT_FALSE = @GLIBCXX_LDBL_COMPAT_FALSE@ -GLIBCXX_LDBL_COMPAT_TRUE = @GLIBCXX_LDBL_COMPAT_TRUE@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LIBICONV = @LIBICONV@ -LIBMATHOBJS = @LIBMATHOBJS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@ - -# Only compiling "C" sources in this directory. -LIBTOOL = @LIBTOOL@ --tag CC -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ -MAKEINFO = @MAKEINFO@ -OBJEXT = @OBJEXT@ -OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ -OPT_LDFLAGS = @OPT_LDFLAGS@ -OS_INC_SRCDIR = @OS_INC_SRCDIR@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SECTION_FLAGS = @SECTION_FLAGS@ -SECTION_LDFLAGS = @SECTION_LDFLAGS@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -SYMVER_FILE = @SYMVER_FILE@ -TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -WARN_FLAGS = @WARN_FLAGS@ -WERROR = @WERROR@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_AS = @ac_ct_AS@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ -am__leading_dot = @am__leading_dot@ -am__tar = @am__tar@ -am__untar = @am__untar@ -baseline_dir = @baseline_dir@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -check_msgfmt = @check_msgfmt@ -datadir = @datadir@ -enable_shared = @enable_shared@ -enable_static = @enable_static@ -exec_prefix = @exec_prefix@ -glibcxx_MOFILES = @glibcxx_MOFILES@ -glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@ -glibcxx_POFILES = @glibcxx_POFILES@ -glibcxx_builddir = @glibcxx_builddir@ -glibcxx_localedir = @glibcxx_localedir@ -glibcxx_prefixdir = @glibcxx_prefixdir@ -glibcxx_srcdir = @glibcxx_srcdir@ -glibcxx_thread_h = @glibcxx_thread_h@ -glibcxx_toolexecdir = @glibcxx_toolexecdir@ -glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@ -gxx_include_dir = @gxx_include_dir@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -libtool_VERSION = @libtool_VERSION@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -multi_basedir = @multi_basedir@ -oldincludedir = @oldincludedir@ -port_specific_symbol_files = @port_specific_symbol_files@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target = @target@ -target_alias = @target_alias@ -target_cpu = @target_cpu@ -target_os = @target_os@ -target_vendor = @target_vendor@ -toplevel_srcdir = @toplevel_srcdir@ - -# May be used by various substitution variables. -gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) -mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs -noinst_LTLIBRARIES = libmath.la -libmath_la_LIBADD = $(LIBMATHOBJS) -libmath_la_DEPENDENCIES = $(libmath_la_LIBADD) -libmath_la_SOURCES = stubs.c -AM_CPPFLAGS = $(CANADIAN_INCLUDES) -all: all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libmath/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign --ignore-deps libmath/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -clean-noinstLTLIBRARIES: - -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libmath.la: $(libmath_la_OBJECTS) $(libmath_la_DEPENDENCIES) - $(LINK) $(libmath_la_LDFLAGS) $(libmath_la_OBJECTS) $(libmath_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -.c.o: - $(COMPILE) -c $< - -.c.obj: - $(COMPILE) -c `$(CYGPATH_W) '$<'` - -.c.lo: - $(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ - mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLTLIBRARIES ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am install-man \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/contrib/libstdc++/libmath/copysignf.c b/contrib/libstdc++/libmath/copysignf.c deleted file mode 100644 index 1c4909591296..000000000000 --- a/contrib/libstdc++/libmath/copysignf.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Copy sign of one number to another. */ - -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. - - 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - 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. */ - - -#include <math.h> -#include "mathconf.h" - -float -copysignf (float x, float y) -{ - /* We use the double version. */ - return copysign (x, y); -} diff --git a/contrib/libstdc++/libmath/mathconf.h b/contrib/libstdc++/libmath/mathconf.h deleted file mode 100644 index be8e96a4b3c5..000000000000 --- a/contrib/libstdc++/libmath/mathconf.h +++ /dev/null @@ -1,309 +0,0 @@ -/* Configuration data for libmath subpart of libstdc++. */ - -/* Copyright (C) 1997-1999, 2000, 2001 Free Software Foundation, Inc. - - 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - 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. */ - - -#include <config.h> - -#ifdef HAVE_ENDIAN_H -# include <endian.h> -#else -# ifdef HAVE_MACHINE_ENDIAN_H -# ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -# endif -# include <machine/endian.h> -# else -# ifdef HAVE_SYS_MACHINE_H -# include <sys/machine.h> -# else -# if defined HAVE_SYS_ISA_DEFS_H || defined HAVE_MACHINE_PARAM_H -/* This is on Solaris. */ -# ifdef HAVE_SYS_ISA_DEFS_H -# include <sys/isa_defs.h> -# endif -# ifdef HAVE_MACHINE_PARAM_H -# include <machine/param.h> -# endif -# ifdef _LITTLE_ENDIAN -# define LITTLE_ENDIAN 1 -# endif -# ifdef _BIG_ENDIAN -# define BIG_ENDIAN 1 -# endif -# define BYTE_ORDER 1 -# else -/* We have to rely on the AC_C_BIGENDIAN test. */ -# ifdef WORDS_BIGENDIAN -# define BIG_ENDIAN 1 -# else -# define LITTLE_ENDIAN 1 -# endif -# define BYTE_ORDER 1 -# endif -# endif -# endif -#endif - -typedef unsigned int U_int32_t __attribute ((mode (SI))); -typedef int Int32_t __attribute ((mode (SI))); -typedef unsigned int U_int64_t __attribute ((mode (DI))); -typedef int Int64_t __attribute ((mode (DI))); - -#ifdef HAVE_NAN_H -# include <nan.h> -#endif - -#ifdef HAVE_IEEEFP_H -# include <ieeefp.h> -#endif - -#ifdef HAVE_FP_H -# include <fp.h> -#endif - -#ifdef HAVE_FLOAT_H -# include <float.h> -#endif - -/* `float' variant of HUGE_VAL. */ -#ifndef HUGE_VALF -# ifdef HUGE_VALf -# define HUGE_VALF HUGE_VALf -# else -# define HUGE_VALF HUGE_VAL -# endif -#endif - -/* `long double' variant of HUGE_VAL. */ -#ifndef HUGE_VALL -# ifdef HUGE_VALl -# define HUGE_VALL HUGE_VALl -# else -# define HUGE_VALL HUGE_VAL -# endif -#endif - -/* Make sure that at least HUGE_VAL is defined. */ -#ifndef HUGE_VAL -# ifdef HUGE -# define HUGE_VAL HUGE -# else -# ifdef MAXFLOAT -# define HUGE_VAL MAXFLOAT -# else -# error "We need HUGE_VAL!" -# endif -# endif -#endif - -#ifndef M_PI -# define M_PI 3.14159265358979323846 -#endif - - -#ifdef __cplusplus -extern "C" { -#endif - -/* signbit is a macro in ISO C99. */ -#ifndef signbit -extern int __signbitf (float); -extern int __signbit (double); -extern int __signbitl (long double); - -# define signbit(x) \ - (sizeof (x) == sizeof (float) ? \ - __signbitf (x) \ - : sizeof (x) == sizeof (double) ? \ - __signbit (x) : __signbitl (x)) -#endif - -#if BYTE_ORDER == BIG_ENDIAN -typedef union -{ - double value; - struct - { - U_int32_t msw; - U_int32_t lsw; - } parts; -} ieee_double_shape_type; -#endif -#if BYTE_ORDER == LITTLE_ENDIAN -typedef union -{ - double value; - struct - { - U_int32_t lsw; - U_int32_t msw; - } parts; -} ieee_double_shape_type; -#endif -/* Get the more significant 32 bit int from a double. */ -#define GET_HIGH_WORD(i,d) \ -do { \ - ieee_double_shape_type gh_u; \ - gh_u.value = (d); \ - (i) = gh_u.parts.msw; \ -} while (0) - - -typedef union -{ - float value; - U_int32_t word; -} ieee_float_shape_type; -/* Get a 32 bit int from a float. */ -#define GET_FLOAT_WORD(i,d) \ -do { \ - ieee_float_shape_type gf_u; \ - gf_u.value = (d); \ - (i) = gf_u.word; \ -} while (0) - - -#if BYTE_ORDER == BIG_ENDIAN -typedef union -{ - long double value; - struct - { - unsigned int sign_exponent:16; - unsigned int empty:16; - U_int32_t msw; - U_int32_t lsw; - } parts; -} ieee_long_double_shape_type; -#endif -#if BYTE_ORDER == LITTLE_ENDIAN -typedef union -{ - long double value; - struct - { - U_int32_t lsw; - U_int32_t msw; - unsigned int sign_exponent:16; - unsigned int empty:16; - } parts; -} ieee_long_double_shape_type; -#endif -/* Get int from the exponent of a long double. */ -#define GET_LDOUBLE_EXP(exp,d) \ -do { \ - ieee_long_double_shape_type ge_u; \ - ge_u.value = (d); \ - (exp) = ge_u.parts.sign_exponent; \ -} while (0) - -#if BYTE_ORDER == BIG_ENDIAN -typedef union -{ - long double value; - struct - { - U_int64_t msw; - U_int64_t lsw; - } parts64; - struct - { - U_int32_t w0, w1, w2, w3; - } parts32; -} ieee_quad_double_shape_type; -#endif -#if BYTE_ORDER == LITTLE_ENDIAN -typedef union -{ - long double value; - struct - { - U_int64_t lsw; - U_int64_t msw; - } parts64; - struct - { - U_int32_t w3, w2, w1, w0; - } parts32; -} ieee_quad_double_shape_type; -#endif -/* Get most significant 64 bit int from a quad long double. */ -#define GET_LDOUBLE_MSW64(msw,d) \ -do { \ - ieee_quad_double_shape_type qw_u; \ - qw_u.value = (d); \ - (msw) = qw_u.parts64.msw; \ -} while (0) - - -/* Replacement for non-existing float functions. */ -#if !defined(HAVE_FABSF) && !defined(HAVE___BUILTIN_FABSF) -# define fabsf(x) fabs (x) -#endif -#if !defined(HAVE_COSF) && !defined(HAVE___BUILTIN_COSF) -# define cosf(x) cos (x) -#endif -#ifndef HAVE_COSHF -# define coshf(x) cosh (x) -#endif -#ifndef HAVE_EXPF -# define expf(x) expf (x) -#endif -#ifndef HAVE_LOGF -# define logf(x) log(x) -#endif -#ifndef HAVE_LOG10F -# define log10f(x) log10 (x) -#endif -#ifndef HAVE_POWF -# define powf(x, y) pow (x, y) -#endif -#if !defined(HAVE_SINF) && !defined(HAVE___BUILTIN_SINF) -# define sinf(x) sin (x) -#endif -#ifndef HAVE_SINHF -# define sinhf(x) sinh (x) -#endif -#if !defined(HAVE_SQRTF) && !defined(HAVE___BUILTIN_SQRTF) -# define sqrtf(x) sqrt (x) -#endif -#ifndef HAVE_TANF -# define tanf(x) tan (x) -#endif -#ifndef HAVE_TANHF -# define tanhf(x) tanh (x) -#endif -#ifndef HAVE_STRTOF -# define strtof(s, e) strtod (s, e) -#endif - -#ifdef __cplusplus -} -#endif - diff --git a/contrib/libstdc++/libmath/signbit.c b/contrib/libstdc++/libmath/signbit.c deleted file mode 100644 index e8d380dc84c4..000000000000 --- a/contrib/libstdc++/libmath/signbit.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Return nonzero value if number is negative. */ - -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. - - 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - 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. */ - - -#include <math.h> -#include "mathconf.h" - -int -__signbit (double x) -{ - Int32_t hx; - - GET_HIGH_WORD (hx, x); - return hx & 0x80000000; -} diff --git a/contrib/libstdc++/libmath/signbitf.c b/contrib/libstdc++/libmath/signbitf.c deleted file mode 100644 index b18afc1cf124..000000000000 --- a/contrib/libstdc++/libmath/signbitf.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Return nonzero value if number is negative. */ - -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. - - 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - 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. */ - - -#include <math.h> -#include "mathconf.h" - -int -__signbitf (float x) -{ - Int32_t hx; - - GET_FLOAT_WORD (hx, x); - return hx & 0x80000000; -} diff --git a/contrib/libstdc++/libmath/signbitl.c b/contrib/libstdc++/libmath/signbitl.c deleted file mode 100644 index 52cbfbad4d21..000000000000 --- a/contrib/libstdc++/libmath/signbitl.c +++ /dev/null @@ -1,48 +0,0 @@ -/* Return nonzero value if number is negative. */ - -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. - - 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - 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. */ - -#include <float.h> -#include <math.h> -#include "mathconf.h" - -int -__signbitl (long double x) -{ -#if LDBL_MANT_DIG == 113 - Int64_t msw; - - GET_LDOUBLE_MSW64 (msw, x); - return msw < 0; -#else - Int32_t e; - - GET_LDOUBLE_EXP (e, x); - return e & 0x8000; -#endif -} diff --git a/contrib/libstdc++/libmath/stubs.c b/contrib/libstdc++/libmath/stubs.c deleted file mode 100644 index 72c4f75a9d18..000000000000 --- a/contrib/libstdc++/libmath/stubs.c +++ /dev/null @@ -1,455 +0,0 @@ -/* Stub definitions for libmath subpart of libstdc++. */ - -/* Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. - - 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - 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. */ - -#include <math.h> -#include "config.h" - -/* For targets which do not have support for long double versions, - we use the crude approximation. We'll do better later. */ - - -#ifndef HAVE_FABSF -float -fabsf(float x) -{ - return (float) fabs(x); -} -#endif - -#ifndef HAVE_FABSL -long double -fabsl(long double x) -{ - return fabs((double) x); -} -#endif - - -#ifndef HAVE_ACOSF -float -acosf(float x) -{ - return (float) acos(x); -} -#endif - -#ifndef HAVE_ACOSL -long double -acosl(long double x) -{ - return acos((double) x); -} -#endif - - -#ifndef HAVE_ASINF -float -asinf(float x) -{ - return (float) asin(x); -} -#endif - -#ifndef HAVE_ASINL -long double -asinl(long double x) -{ - return asin((double) x); -} -#endif - - -#ifndef HAVE_ATANF -float -atanf(float x) -{ - return (float) atan(x); -} -#endif - -#ifndef HAVE_ATANL -long double -atanl(long double x) -{ - return atan ((double) x); -} -#endif - - -#ifndef HAVE_ATAN2F -float -atan2f(float x, float y) -{ - return (float) atan2(x, y); -} -#endif - -#ifndef HAVE_ATAN2L -long double -atan2l(long double x, long double y) -{ - return atan2((double) x, (double) y); -} -#endif - - -#ifndef HAVE_CEILF -float -ceilf(float x) -{ - return (float) ceil(x); -} -#endif - -#ifndef HAVE_CEILL -long double -ceill(long double x) -{ - return ceil((double) x); -} -#endif - - -#ifndef HAVE_COSF -float -cosf(float x) -{ - return (float) cos(x); -} -#endif - -#ifndef HAVE_COSL -long double -cosl(long double x) -{ - return cos((double) x); -} -#endif - - -#ifndef HAVE_COSHF -float -coshf(float x) -{ - return (float) cosh(x); -} -#endif - -#ifndef HAVE_COSHL -long double -coshl(long double x) -{ - return cosh((double) x); -} -#endif - - -#ifndef HAVE_EXPF -float -expf(float x) -{ - return (float) exp(x); -} -#endif - -#ifndef HAVE_EXPL -long double -expl(long double x) -{ - return exp((double) x); -} -#endif - - -#ifndef HAVE_FLOORF -float -floorf(float x) -{ - return (float) floor(x); -} -#endif - -#ifndef HAVE_FLOORL -long double -floorl(long double x) -{ - return floor((double) x); -} -#endif - - -#ifndef HAVE_FMODF -float -fmodf(float x, float y) -{ - return (float) fmod(x, y); -} -#endif - -#ifndef HAVE_FMODL -long double -fmodl(long double x, long double y) -{ - return fmod((double) x, (double) y); -} -#endif - - -#ifndef HAVE_FREXPF -float -frexpf(float x, int *exp) -{ - return (float) frexp(x, exp); -} -#endif - -#ifndef HAVE_FREXPL -long double -frexpl(long double x, int *exp) -{ - return frexp((double) x, exp); -} -#endif - - -#ifndef HAVE_SQRTF -float -sqrtf(float x) -{ - return (float) sqrt(x); -} -#endif - -#ifndef HAVE_SQRTL -long double -sqrtl(long double x) -{ - return sqrt((double) x); -} -#endif - - -/* Compute the hypothenuse of a right triangle with side x and y. */ -#ifndef HAVE_HYPOTF -float -hypotf(float x, float y) -{ - float s = fabsf(x) + fabsf(y); - if (s == 0.0F) - return s; - x /= s; y /= s; - return s * sqrtf(x * x + y * y); -} -#endif - -#ifndef HAVE_HYPOT -double -hypot(double x, double y) -{ - double s = fabs(x) + fabs(y); - if (s == 0.0) - return s; - x /= s; y /= s; - return s * sqrt(x * x + y * y); -} -#endif - -#ifndef HAVE_HYPOTL -long double -hypotl(long double x, long double y) -{ - long double s = fabsl(x) + fabsl(y); - if (s == 0.0L) - return s; - x /= s; y /= s; - return s * sqrtl(x * x + y * y); -} -#endif - - - -#ifndef HAVE_LDEXPF -float -ldexpf(float x, int exp) -{ - return (float) ldexp(x, exp); -} -#endif - -#ifndef HAVE_LDEXPL -long double -ldexpl(long double x, int exp) -{ - return ldexp((double) x, exp); -} -#endif - - -#ifndef HAVE_LOGF -float -logf(float x) -{ - return (float) log(x); -} -#endif - -#ifndef HAVE_LOGL -long double -logl(long double x) -{ - return log((double) x); -} -#endif - - -#ifndef HAVE_LOG10F -float -log10f(float x) -{ - return (float) log10(x); -} -#endif - -#ifndef HAVE_LOG10L -long double -log10l(long double x) -{ - return log10((double) x); -} -#endif - - -#ifndef HAVE_MODFF -float -modff(float x, float *iptr) -{ - double result, temp; - - result = modf(x, &temp); - *iptr = (float) temp; - return (float) result; -} -#endif - -#ifndef HAVE_MODFL -long double -modfl(long double x, long double *iptr) -{ - double result, temp; - - result = modf((double) x, &temp); - *iptr = temp; - return result; -} -#endif - - -#ifndef HAVE_POWF -float -powf(float x, float y) -{ - return (float) pow(x, y); -} -#endif - -#ifndef HAVE_POWL -long double -powl(long double x, long double y) -{ - return pow((double) x, (double) y); -} -#endif - - -#ifndef HAVE_SINF -float -sinf(float x) -{ - return (float) sin(x); -} -#endif - -#ifndef HAVE_SINL -long double -sinl(long double x) -{ - return sin((double) x); -} -#endif - - -#ifndef HAVE_SINHF -float -sinhf(float x) -{ - return (float) sinh(x); -} -#endif - -#ifndef HAVE_SINHL -long double -sinhl(long double x) -{ - return sinh((double) x); -} -#endif - - -#ifndef HAVE_TANF -float -tanf(float x) -{ - return (float) tan(x); -} -#endif - -#ifndef HAVE_TANL -long double -tanl(long double x) -{ - return tan((double) x); -} -#endif - - -#ifndef HAVE_TANHF -float -tanhf(float x) -{ - return (float) tanh(x); -} -#endif - -#ifndef HAVE_TANHL -long double -tanhl(long double x) -{ - return tanh((double) x); -} -#endif |