This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: long double and GLIBCPP_CHECK_MATH_SUPPORT
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: long double and GLIBCPP_CHECK_MATH_SUPPORT
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Tue, 24 Oct 2000 14:44:09 -0700 (PDT)
- cc: libstdc++ at sources dot redhat dot com
you are welcome! that was done for powerpc specifically, but i think it
works on alpha too.
although that's definitely the direction i want to go, i'm not quite sure
it's the most elegant. In particular, I don't really want to use the
mangled macros for each of the long double functions in particular,
because it will be a mess. (ie, sinl -> _GLIBCPP_HAVE_SINL in std_cmath.h).
if everybody else is in agreement, please post your patch.
thanks
benjamin
> Thanks for the GLIBCPP_ENABLE_LONG_DOUBLE test.
>
> May I create a patch to acinclude.m4 moving the
> GLIBCPP_CHECK_MATH_SUPPORT tests after the GLIBCPP_ENABLE_LONG_DOUBLE test
> and avoid the basic C math functions long double tests if
> GLIBCPP_ENABLE_LONG_DOUBLE already failed?
yes