summaryrefslogtreecommitdiff
path: root/libstdc++-v3/libmath
Commit message (Collapse)AuthorAgeFilesLines
* acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf, hypotl, atan2f, ↵Gabriel Dos Reis2001-07-256-146/+162
| | | | | | | | | | | | | | | | | | | | atan2l. * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf, hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list. * aclocal.m4: Regenerate. * config.h.in: Likewise. * configure: Likewise. * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c (EXTRA_DIST): Remove hypot.c hypotf.c. * libmath/Makefile.am: Regenerate. * libmath/hypotf.c: Remove. * libmath/hypot.c: Likewise. * libmath/hypotl.c: Likewise. * libmath/stubs.c: The macros seen here are HAVE_xxx, not _GLIBCPP_HAVE_xxx. Add long double versions. From-SVN: r44334
* All occurrences of the __value_type() and __distance_type() functions...Stephen M. Webb2001-07-181-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r All occurrences of the __value_type() and __distance_type() functions, which were required to support the HP STL, have been removed along with all the auxiliary forwarding functions that were required to support their use. The __iterator_category() function was pretty much left alone because there was no benefit to removing it and its use made code just a little more readable. Incidences of distance() with nonstandard argument list were replaced by calls to the standard function (only in the files affected by the removal of the other HP functions). The signature of the rotate() algorithm was changed to match the standard. Headers were reformatted under C++STYLE guidelines (indentation, linebreaks, typename keyword). * include/bits/stl_algo.h: replaced __value_type() and __distance_type() with iterator_traits, eliminated auxiliary support functions required to support said function usage. Changed nonstandard distance() call to standard call. * include/bits/stl_algobase.h: Same. * include/bits/stl_heap.h: Same. * include/bits/stl_numeric.h: Same. * include/bits/stl_uninitialized.h: Same. * include/bits/stl_iterator_base_types.h (__value_type()): Removed. (__distance_type()): Removed. (value_type()): Gone. (distance_type()): Done in. (iterator_category()): Hasta la vista, baby. * include/bits/stl_iterator_base_funcs.h (iterator_category()): Replaced with __iterator_category(). * include/backward/iterator.h: moved definition of value_type(), distance_type(), and iterator_category() out of std:: and into here. * testsuite/23_containers/vector_ctor.cc (test03): New testcases. * testsuite/23_containers/vector_modifiers.cc (test03): New testcases. * testsuite/25_algorithms/rotate.cc: New testcase. * testsuite/25_algorithms/copy.cc: New testcase. * testsuite/25_algorithms/sort.cc: Same. * testsuite/25_algorithms/heap.cc: Same. * testsuite/25_algorithms/partition.cc: Same. * testsuite/25_algorithms/binary_search.cc: Same. * testsuite/26_numerics/sum_diff.cc: Ditto. From-SVN: r44117
* Makefile.am: New file encapsulating header generation rules.Stephen M. Webb2001-07-134-45/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com> Loren J. Rittle <ljrittle@acm.org> Phil Edwards <pme@sources.redhat.com> * include/Makefile.am: New file encapsulating header generation rules. * Makefile.am (SUBDIRS): Prepend 'include' directory. * acinclude.m4: Moved/removed rules for building various headers. * configure.in (AC_OUTPUT): Add include/Makefile. * mkc++config: Removed. * testsuite_flags.in: Changed build-includes to match new scheme. * mknumeric_limits: Likewise. * libio/Makefile.am: Changed INCLUDES to maatch new header scheme. * libmath/Makefile.am: Likewise. * libsupc++/Makefile.am: Likewise. * src/Makefile.am: Likewise; removed rules to build headers. * libmath/mathconf.h: Changed #include'd header names to match. * libmath/stubs.c: Likewise. * src/gen-num-limits.cc: Likewise. * configure: Regenerated. * config.h.in: Regenerated. * aclocal.m4: Regenerated. * Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r43985
* run_doxygen: Don't keep output from previous run.Phil Edwards2001-07-111-1/+1
| | | | | | | | | | | | | | | | | | 2001-07-11 Phil Edwards <pme@sources.redhat.com> * docs/doxygen/run_doxygen: Don't keep output from previous run. * docs/doxygen/user.cfg.in: Tweaks. * include/bits/c++config: Documentation comments for Doxygen. * include/bits/char_traits.h: Likewise. * include/bits/limits_generic.h: Likewise. * include/bits/std_stdexcept.h: Likewise. * include/bits/stl_pair.h: Likewise. * libsupc++/exception: Likewise. * libsupc++/new: Likewise. * libsupc++/typeinfo: Likewise. * libmath/Makefile.am: Update and correct copyright. From-SVN: r43948
* Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.cGabriel Dos Reis2001-07-065-80/+10
| | | | | | | | | * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c * libmath/Makefile.in: Regenerate. * libmath/expf.c: Remove. * libmath/atan2f.c: Likewise. From-SVN: r43828
* sbuf_iter.h: Change to..Benjamin Kosnik2001-06-261-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-26 Benjamin Kosnik <bkoz@redhat.com> * include/bits/sbuf_iter.h: Change to.. * include/bits/streambuf_iterator.h: This. * include/bits/stl_iterator.h: Take out of here... * include/bits/stream_iterator.h: Add. * src/Makefile.am (base_headers): Add streambuf_iterator, stream_iterator.h * src/Makefile.in: Regenerate. * include/bits/std_string.h: Adjust includes. * include/bits/basic_ios.h: Same. * include/bits/locale_facets.tcc: Same. * include/bits/std_iosfwd.h: Same. * include/bits/std_iterator.h: Add istream, ostream includes. * include/bits/stl_iterator.h: Tweak. * testsuite/24_iterators/ostream_iterator.cc: Add test. * testsuite/24_iterators/istream_iterator.cc: Same. * testsuite/23_containers/multiset.cc: Add iterator include. From-SVN: r43592
* re PR libstdc++/3377 (missing std::__cmath_power<double>(double,unsigned))Phil Edwards2001-06-251-4/+11
| | | | | | | | | | | | | | | | | | | | 2001-06-25 Phil Edwards <pme@sources.redhat.com> Kurt Garloff <garloff@suse.de> PR libstdc++/3377 * src/cmath.cc: New [version of an old] file; instantiate __cmath_power to start with. * src/Makefile.am (sources): Add cmath.cc (and alphabetize). * Makefile.in: Regenerate. * libio/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. Co-Authored-By: Kurt Garloff <garloff@suse.de> From-SVN: r43559
* * libmath/stubs.c: Fix thinko.Gabriel Dos Reis2001-06-231-0/+1
| | | | From-SVN: r43536
* stubs.c (sqrtf): Define.David Edelsohn2001-06-231-1/+8
| | | | | | | | | 2001-06-24 David Edelsohn <dje@watson.ibm.com> * libmath/stubs.c (sqrtf): Define. (tanf): Correct typo. From-SVN: r43532
* * libmath/stubs.c (powf): Fix typo.Gabriel Dos Reis2001-06-221-2/+2
| | | | From-SVN: r43503
* * libmath/stubs.c (tanhf): Fix typo.Gabriel Dos Reis2001-06-221-11/+11
| | | | From-SVN: r43502
* stubs.c: New file.Gabriel Dos Reis2001-06-223-5/+114
| | | | | | | | * libmath/stubs.c: New file. * libmath/Makefile.am (libmath_la_SOURCES): Add. * libmath/Makefile.in. Regenerate. From-SVN: r43499
* Switch over to new harness.Benjamin Kosnik2001-05-141-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-13 Benjamin Kosnik <bkoz@redhat.com> Switch over to new harness. * testsuite_flags.in: Tweaks via Gaby. * testsuite/Makefile.am: Change tool to libstdc++-v3. (EXPECT): Quote directly. (RUNTEST): Same. * configure.in: Output testsuite_flags. * acinclude.m4: Substitute src, bld, and prefix dirs. Remove glibcpp_expect, glibcpp_runtestflags. * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs. * mkcheck.in: Port to new interface. * aclocal.m4: Regerate. * configure: Regnerate. * Makefile.in: Regnerate. * */Makefile.in: Regenerate. * tests_flags.in: Remove. * testsuite/lib/libstdc++.exp: Remove. * testsuite/libstdc++.tests/tests.exp: Remove. From-SVN: r42055
* configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or -prefer-non-pic ↵Alexandre Oliva2001-05-031-5/+14
| | | | | | | | | | | | | depending on whether libtool has... * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or -prefer-non-pic depending on whether libtool has shared libraries enabled or disabled. * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to $(LIBSUPCXX_PICFLAGS). * configure, */Makefile.in: Rebuilt. From-SVN: r41806
* acinclude.m4: AC_CHECK_TOOL for expect.Benjamin Kosnik2001-04-111-2/+3
| | | | | | | | | | | | | | | | | 2001-04-11 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: AC_CHECK_TOOL for expect. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/Makefile.am (RUNTEST): Use substituted. (EXPECT): Same. * configure.in: Remove xcompiling substitution. * tests_flags.in (CROSS_LIB_PATH): Remove. (xcompiling): Remove. (CXX): Use substituted CXX. From-SVN: r41262
* Warn when using backward headers.Benjamin Kosnik2001-04-061-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> Warn when using backward headers. * include/backward/algo.h: Include warning file. * include/backward/vector.h: Same. * include/backward/tree.h: Same. * include/backward/tempbuf.h: Same. * include/backward/strstream: Same. * include/backward/streambuf.h: Same. * include/backward/stream.h: Same. * include/backward/stack.h: Same. * include/backward/slist.h: Same. * include/backward/set.h: Same. * include/backward/rope.h: * include/backward/queue.h: Same. * include/backward/pair.h: Same. * include/backward/ostream.h: Same. * include/backward/new.h: Same. * include/backward/multiset.h: Same. * include/backward/multimap.h: Same. * include/backward/map.h: Same. * include/backward/list.h: Same. * include/backward/iterator.h: Same. * include/backward/istream.h: Same. * include/backward/iostream.h: * include/backward/iomanip.h: * include/backward/heap.h: Same. * include/backward/hashtable.h: * include/backward/hash_set.h: * include/backward/hash_map.h: * include/backward/function.h: * include/backward/fstream.h: * include/backward/deque.h: * include/backward/defalloc.h: Same. * include/backward/complex.h: Same. * include/backward/bvector.h: * include/backward/alloc.h: * include/backward/algobase.h: Same. * include/backward/backward_warning.h: New file. * src/Makefile.am (backward_headers): Add backward_warning.h * src/Makefile.in: Regenerate. 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (myinstalldirs): Make sure backward directory is created. (myinstallheaders): Install backward headers in backward directory. * src/Makefile.in: Regenerate. From-SVN: r41139
* New concept checking implementation.Phil Edwards2001-04-031-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-02 Phil Edwards <pme@sources.redhat.com> New concept checking implementation. * docs/html/19_diagnostics/howto.html: Document. * docs/html/17_intro/concept_check.diff: New file, for reference. * include/bits/boost_concept_check.h: New file from Boost. * include/bits/c++config: Update comments. * include/bits/concept_check.h: New file. * include/bits/concept_checks.h: Removed. * include/bits/container_concepts.h: Removed. * include/bits/sequence_concepts.h: Removed. * include/bits/stl_iterator_base.h: Removed; split into... * include/bits/stl_iterator_base_funcs.h: ...this new file... * include/bits/stl_iterator_base_types.h: ...and this new file. * include/bits/sbuf_iter.h: Update to use new implementation. * include/bits/std_iterator.h: Likewise. * include/bits/std_memory.h: Likewise. * include/bits/stl_algo.h: Likewise. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_heap.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_numeric.h: Likewise. * include/bits/stl_queue.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/stl_stack.h: Likewise. * include/bits/stl_uninitialized.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/ext/hash_map: Likewise. * include/ext/hash_set: Likewise. * include/ext/slist: Likewise. * include/ext/stl_hashtable.h: Likewise. * src/Makefile.am (base_headers): Update list of headers. * Makefile.in: Regenerated. * src/Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * docs/html/install.html: Update contact information. * docs/html/17_intro/howto.html: Ditto. * docs/html/18_support/howto.html: Ditto. * docs/html/20_util/howto.html: Ditto. * docs/html/21_strings/howto.html: Ditto. * docs/html/22_locale/howto.html: Ditto. * docs/html/23_containers/howto.html: Ditto. * docs/html/24_iterators/howto.html: Ditto. * docs/html/25_algorithms/howto.html: Ditto. * docs/html/26_numerics/howto.html: Ditto. * docs/html/27_io/howto.html: Ditto. * docs/html/faq/index.html: Ditto, plus info on new checking code. * docs/html/ext/howto.html: Ditto, plus info on new checking code. * docs/html/faq/index.txt: Regenerated. From-SVN: r41031
* [multiple changes]Benjamin Kosnik2001-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-28 Benjamin Kosnik <bkoz@redhat.com> * mkcheck.in (LIBTOOL): Don't construct -B argument here... * tests_flags.in (CXX): Construct here. (static_fail): Don't remove compile.out. Format with spaces. (INCLUDES): Deal with xcompiling. * configure.in (xcompiling): Substitute. * testsuite/Makefile.am: Snake libjava configury. * testsuite/Makefile.in: Regenerate. * testsuite/23_containers/map_operators.cc: Tweaks. * testsuite/23_containers/set_operators.cc: Tweaks. 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com> Enable dejagnu testing framework. * configure.in: Generate testsuite/Makefile. * configure: Regenerate. * Makefile.am (check-install): Change rule from this... (check-script-install): ...to this. (check): Change rule from this... (check-script):...to this. * Makefile.in: Regenerate. From-SVN: r40960
* IA-64 ABI Exception Handling.Richard Henderson2001-03-281-14/+6
| | | | From-SVN: r40924
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.Phil Edwards2001-03-251-5/+13
| | | | | | | | | | | | | | | | | 2001-03-24 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment. * src/Makefile.am: Replace leading spaces with tabs on continuation lines. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * src/Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. From-SVN: r40822
* [multiple changes]Benjamin Kosnik2001-03-021-1/+0
| | | | | | | | | | | | | | | | | | 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * include/bits/istream.tcc: change type of __extracted to __size_type 2001-03-02 Benjamin Kosnik <bkoz@redhat.com> * src/wstring-inst.cc: New file. * src/Makefile.am (EXTRA_LTLIBRARIES): Remove. (libinst_wstring_la_SOURCES): Remove. (libstdc___la_LIBADD): Remove libinst_wstring_la. (sources): Add wstring-inst.cc * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove libinst_wstring_la. From-SVN: r40192
* c++config (__GLIBCPP__): Bump number in anticipation of 2.92.Benjamin Kosnik2001-03-011-13/+5
| | | | | | | | | | | | | | | | 2001-02-28 Benjamin Kosnik <bkoz@redhat.com> libstdc++/2103 * include/bits/c++config (__GLIBCPP__): Bump number in anticipation of 2.92. * include/bits/codecvt.h: Fix typo. * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for stdio model. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t instantiations for stdio model. From-SVN: r40140
* acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS ↵Phil Edwards2001-02-281-7/+13
| | | | | | | | | | | | | | | | | | | | as unused variables. 2001-02-28 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS as unused variables. * configure.host: Likewise. * configure.target: Likewise. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. From-SVN: r40135
* basic_file.h: Include basic_file_model.h.Benjamin Kosnik2001-02-281-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Benjamin Kosnik <bkoz@redhat.com> libstdc++/1886 * include/bits/basic_file.h: Include basic_file_model.h. * config/c_io_libio.cc: Move to... * config/basic_file_libio.cc: Here. * config/basic_file_libio.h: New file. * config/c_io_stdio.cc: Move to... * config/basic_file_stdio.cc: Here. * config/basic_file_stdio.h: New file. * config/c_io_libio.h: Tweak. * config/c_io_stdio.h: Tweak. * src/Makefile.am (build_headers): Add basic_file_model.h. (sources): Add basic_file.cc, remove c++io.cc. * src/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for basic_file_model.h and basic_file.cc. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/27_io/filebuf.cc (test05): Add regression. From-SVN: r40108
* acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.Phil Edwards2001-02-261-1/+0
| | | | | | | | | | | | | | | | | | | | 2001-02-26 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version. (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new diagnostics. Remove WFMT_FLAGS. * configure.in: Replace WFMT_FLAGS with diagnostics options. * libsupc++/Makefile.am: Likewise. * src/Makefile.am: Likewise. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. From-SVN: r40075
* mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.Greg Freemyer2001-02-251-2/+2
| | | | | | | | 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com> * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko. From-SVN: r40051
* stl_config.h: Remove file.Phil Edwards2001-02-201-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-20 Phil Edwards <pme@sources.redhat.com> * include/bits/stl_config.h: Remove file. * src/Makefile.am (base_headers): Remove from list. * configure: Regenerate. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * include/bits/c++config: Move relevant macros to here. * include/backward/alloc.h: Include c++config.h instead. * include/backward/function.h: Ditto. * include/backward/heap.h: Ditto. * include/backward/pair.h: Ditto. * include/bits/pthread_allocimpl.h: Ditto. * include/bits/std_functional.h: Ditto. * include/bits/std_iterator.h: Ditto. * include/bits/std_numeric.h: Ditto. * include/bits/std_utility.h: Ditto. * include/bits/stl_algobase.h: Ditto. * include/bits/type_traits.h: Ditto. * src/stl-inst.cc: Ditto. From-SVN: r39931
* mathconf.h (FINITE_P, INFINITE_P): Remove macro definitions.Gabriel Dos Reis2001-02-161-94/+0
| | | | | | | * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro definitions. From-SVN: r39767
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library install ↵Benjamin Kosnik2001-02-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locations too. 2001-02-06 Benjamin Kosnik <bkoz@fillmore.constant.com> * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library install locations too. * aclocal.m4: Regeneate. * configure.in: Remove USE_LIBDIR. * configure: Regenerate. * src/Makefile.am (toolexecdir): Simplify, use glibcpp_toolexecdir, glibcpp_toolexeclibdir. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * src/Makefile.am: Just remove special rules for locale-inst.cc and misc-inst.cc as no longer necessary. Follow C++STYLE for naming non-static functions. * include/bits/ostream.tcc (_S_pad_char): Not static, rename to __pad_char. * include/bits/streambuf.tcc: Same. * include/bits/ostream.tcc: Same. * include/bits/istream.tcc: Same. * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric. (_S_output_float): To __output_float. * include/bits/std_streambuf.h (_S_copy_streambufs): To __copy_streambufs. * include/bits/locale_facets.tcc (_S_build_float_format): To __build_float_format. (_S_format): To __output_integer. (_S_fill): To __pad. * src/locale.cc: Same. * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct names. * include/bits/locale_facets.tcc (_S_group_digits): To __group_digits. * src/locale-inst.cc: Fixup names. Add use_facet instantiations for collate, numpunct. From-SVN: r39508
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New macro.Benjamin Kosnik2001-02-061-2/+0
| | | | | | | | | | | | | | | | | | | 2001-02-05 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New macro. Consolidate all the bits to do with where includes might be installed. * aclocal.m4: Regenerate. * configure.in: Use it. * configure: Regenerate. * src/Makefile.am (targetincludep): Use simplified rules. (targetincludep): Rename gxx_target_include_dir. (myincludep): Rename gxx_include_dir. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am: Use simplified rules. * libsupc++/Makefile.in: Regenerate. From-SVN: r39479
* Makefile.am (mkinstalldirs): Set.Benjamin Kosnik2001-02-032-14/+9
| | | | | | | | | | | | | | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> * Makefile.am (mkinstalldirs): Set. * src/Makefile.am (mkinstalldirs): Set. * libmath/Makefile.am (mkinstalldirs): Set. * libsup++/Makefile.am (mkinstalldirs): Set. * libio/Makefile.am (mkinstalldirs): Set. * */Makefile.in: Regenerate. From-SVN: r39430
* configure.in (toplevel_srcdir, auxdir): Set.Alexandre Oliva2001-02-011-5/+14
| | | | | | | | | | | | | * configure.in (toplevel_srcdir, auxdir): Set. * acinclude.m4 (glibcpp_basedir): Set based on auxdir. * aclocal.m4, configure, Makefile.in: Rebuilt. * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise. * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir. * libsupc++-v3/Makefile.in: Rebuilt. * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed. * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise. From-SVN: r39395
* Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.Benjamin Kosnik2000-12-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 2000-12-23 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES. (strstream.cc): Add special rule for deprecated files. * libsupc++/Makefile.am (INCLUDES): Sync. * acinclude.m4 (GLIBCPP_EXPORT_INCLUDES): And here. Reported by Fred Fish <fnf@ninemoons.com> * include/backward/iomanip.h: Remove backward from include * include/backward/strstream.h: Same. * include/backward/stream.h: Same. * include/backward/ostream.h: Same. * include/backward/istream.h: Same. * src/strstream.cc: And here. Reported by Brad Garcia <bgarcia@laurelnetworks.com> * src/string-inst.cc (_S_find): Use generic template. * include/bits/string.tcc (_S_find): Remove specializations From-SVN: r38477
* Makefile.am (sources): Remove complex.cc, complexf.cc and complexl.cc from list.Gabriel Dos Reis2000-12-217-397/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.am (sources): Remove complex.cc, complexf.cc and complexl.cc from list. * src/Makefile.in: Regenerate. * src/complex.cc: Remove. * src/complexf.cc: Likewise. * src/complexl.cc: Likewise. * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove csqrtl.c (EXTRA_DIST): Remove csqrt.c and csqrtf.c. * libmath/Makefile.in: Regenerate. * libmath/complex-stub.h: Remove. * libmath/csqrt.c: Likewise. * libmath/sqrtf.c: Likewise. * libmath/sqrtl.c: Likewise. * libmath/mathconf.h: Remove <complex.h> and "complex-stub.h" #inclusion. * include/bits/std_complex.h (sqrt<>): Define primary template. (complex<>): Remove sqrt friend declarations. * configure.in: Initialize with src/ios.cc. * configure: Regenerate. * acinclude.m4: Remove check for csqrt* and <complex.h> * aclocal.m4: Regenerate. * config.h.in: Regenerate. * Makefile.in: Regenerate. From-SVN: r38409
* acinclude.m4 (SECTION_FLAGS, [...]): Fix minor thinko.Phil Edwards2000-12-201-5/+13
| | | | | | | | | | | | | | | | | 2000-12-20 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (SECTION_FLAGS, OPT_LDFLAGS): Fix minor thinko. * aclocal.m4: Regenerate. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * include/bits/istream.tcc: Fix clause reference in comment. From-SVN: r38406
* [multiple changes]Benjamin Kosnik2000-12-181-0/+1
| | | | | | | | | | | | | | | | | | | 2000-12-18 Benjamin Kosnik <bkoz@redhat.com> * configure.in: Set os_include_dir for cross_compiles. * configure: Regenerate. * configure.target (l_glibcpp_cxxflags): Don't try to be clever when assigning ATOMICITYH. Only special case the special cases... 2000-12-15 Benjamin Kosnik <bkoz@redhat.com> * configure.in (gxx_target_include_dir): Install target-dependent include files in a target-dependent place. * configure: Regenerate. * src/Makefile.am: Add in support here. * src/Makefile.in: Regenerate. From-SVN: r38354
* [multiple changes]Benjamin Kosnik2000-12-131-13/+5
| | | | | | | | | | | | | | | | | | | | | 2000-12-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype files here... * configure.in: Rather, do it once for all targets here. Clean up canadian cross and cross compile targets for linux-targeted crosses. * configure: Regenerate. * aclocal.m4: Regnerate. * acconfig.h: Add more defines. * config.h.in: Regenerate. 2000-12-12 Angela Marie Thomas <angela@cygnus.com> * configure.in: Fix case for host-x-linux * configure: Regenerate. From-SVN: r38217
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, ↵Phil Edwards2000-12-081-5/+13
| | | | | | | | | | | | | | | | | true iff building libio. 2000-12-08 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, true iff building libio. * libio/Makefile.am: Use; set noinst_LTLIBRARIES empty if false. * aclocal.m4: Regenerated. * config.h.in: Regenerated. * configure: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. From-SVN: r38138
* Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ↵Gabriel Dos Reis2000-12-0827-2154/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctanhl, ctanl. * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ctanhl, ctanl. (EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf, csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf. * libmath/Makefile.in: Regenarate. * libmath/ccos.c: Remove. * libmath/ccosf.c: Likewise. * libmath/ccosl.c: Likewise. * libmath/csin.c: Likewise. * libmath/csinf.c: Likewise. * libmath/csinl.c: Likewise. * libmath/ctan.c: Likewise. * libmath/ctanf.c: Likewise. * libmath/ctanl.c: Likewise. * libmath/ccosh.c: Likewise. * libmath/ccoshf.c: Likewise. * libmath/ccoshl.c: Likewise. * libmath/csinh.c: Likewise. * libmath/csinhf.c: Likewise. * libmath/csinhl.c: Likewise. * libmath/ctanh.c: Likewise. * libmath/ctanhf.c: Likewise. * libmath/ctanhl.c: Likewise. * libmath/cexp.c: Likewise. * libmath/cexpf.c: Likewise. * libmath/cexpl.c: Likewise. * libmath/clog10.c: Likewise. * libmath/clog10f.c: Likewise. * libmath/clog10l.c: Likewise. * libmath/complex-stub.h: Remove forward declaration of functions mentioned above. * include/bits/std_complex.h(tan, tanh): Define primary templates. (complex<>): Remove friend declarations for tan<> and tanh<>. * src/complex.cc(tan, tanh): Remove specializations. * acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh, ccoshf, ccoshl, csin, csinf, csinl, csinh, csinhf, csinhl, cexp, cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl. * aclocal.m4: Regenarate. * configure: Regenarate. From-SVN: r38128
* acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the ↵Phil Edwards2000-12-061-5/+20
| | | | | | | | | | | | | | | | | | cached result is present. 2000-12-06 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result is present. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * libio/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. From-SVN: r38079
* complex.cc (pow): Remove definitions for explicit specializations.Gabriel Dos Reis2000-12-0513-454/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/complex.cc (pow): Remove definitions for explicit specializations. * libmath/mathconf.h: Remove declarations for c_log, c_logf, c_logl. * libmath/complex-stub.h: Remove declarations for cpow, cpowf, cpowl. * libmath/cpow.c: Remove. * libmath/cpowf.c: Remove. * libmath/cpowl.c: Remove. * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl, cpowl, (EXTRA_DIST): Remove c_log, c_logf, carg, cargf. * libmath/Makefile.in: Regenarate. * libmath/c_log.c: Remove * libmath/c_logf.c: Likewise. * libmath/c_logl.c: Likewise. * libmath/carg.c: Likewise. * libmath/cargf.c: Likewise. * libmath/cargl.c: Likewise. * include/bits/std_complex.h (pow): Define primary templates. (complex<>): Remove friend declarations for pow<>(). * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg, cargf. * aclocal.m4: Regenarate. * configure: Regenarate. From-SVN: r38025
* acinclude.m4: Only sanity check for compiler version when configuring.Benjamin Kosnik2000-11-271-20/+5
| | | | | | | | | | | 2000-11-26 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Only sanity check for compiler version when configuring. More fixes for 'make clean'. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r37768
* Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.cGabriel Dos Reis2000-11-266-136/+21
| | | | | | | | | | | | | | | | * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c * libmath/Makefile.in: Regenerate. * libmath/cabs.c: Remove. * libmath/cabsf.c: Likewise. * libmath/cabsl.c: Likewise. * libmath/complex-stub.h: Remove declarations for cabs*. * acinclude.m4: Remove check for cabs*. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. From-SVN: r37758
* acinclude.m4: Change C9X references to refer to C99.Joseph Myers2000-11-251-3/+3
| | | | | | | | | | | * acinclude.m4: Change C9X references to refer to C99. * aclocal.m4, configure: Regenerate. * config/os/gnu-linux/bits/os_defines.h, src/complex.cc, testsuite/22_locale/codecvt_wchar_t_char.cc, include/bits/stl_config.h, include/c/bits/std_cwchar.h, libmath/mathconf.h: Change C9X references to refer to C99. From-SVN: r37743
* acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.Benjamin Kosnik2000-11-211-20/+5
| | | | | | | | | | 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h. * aclocal.m4: Regenerate. * configure: Renerate. From-SVN: r37626
* acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to...Phil Edwards2000-11-171-5/+20
| | | | | | | | | | | | | | | | | 2000-11-17 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to... * configure.target: ...here. Enable generic atomic ops, and warn. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. From-SVN: r37524
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make --enable-cstdio=stdio the default.Mark Mitchell2000-11-171-22/+7
| | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make --enable-cstdio=stdio the default. Disable wide character support in that event. * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after (GLIBCPP_ENABLE_CSTDIO). * config/c_io_stdio.h: Don't include <libio.h>, don't define __c_wfile_type. * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. * libio/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * src/Makefile.in: Likewise. From-SVN: r37509
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.Mark Mitchell2000-11-161-7/+23
| | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la. * src/Makefile.am (libstdc___la_LIBADD): Use it. * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. * libio/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * src/Makfile.in: Likewise. From-SVN: r37491
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to initial value.Benjamin Kosnik2000-11-141-20/+5
| | | | | | | | | | | | | 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to initial value. * aclocal.m4: Regenerate. * configure: Regenerate. * include/bits/c++config (__GLIBCPP__): Set release version for 2.91. From-SVN: r37457
* acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro...Phil Edwards2000-11-131-5/+20
| | | | | | | | | | | | | | | | | | | | | | 2000-11-13 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target. (GLIBCPP_CONFIGURE): Call new macro here. * configure.host: Cleanup. * configure.in: Remove those two macros. * configure.target: New file. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * mkcheck.in: Use libtool. Split things out into functions. From-SVN: r37443