This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Adding __float128 (i.e TS 18661-3)
- From: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>, Steve Munroe <sjmunroe at us dot ibm dot com>
- Date: Thu, 9 Jun 2016 15:15:14 -0500
- Subject: Re: Adding __float128 (i.e TS 18661-3)
- Authentication-results: sourceware.org; auth=none
- References: <572BB6DF dot 7090709 at linux dot vnet dot ibm dot com> <alpine dot DEB dot 2 dot 20 dot 1605052236310 dot 24016 at digraph dot polyomino dot org dot uk> <572CD397 dot 2090405 at linux dot vnet dot ibm dot com> <alpine dot DEB dot 2 dot 20 dot 1605062118090 dot 15027 at digraph dot polyomino dot org dot uk> <c6fdca14-2c5a-4b9a-8dd9-25630c6a100e at linux dot vnet dot ibm dot com>
On 06/09/2016 03:00 PM, Paul E. Murphy wrote:
>
> Picking up here as a reasonable place to continue the
> discussion on ABI and API for float128 (or any future
> TS 18661-3 derived type).
>
>
> For any new TS 18661-3 derived type, I propose the
> following new functions and ABI be exposed through
> libm via math.h:
>
> From TS 18661-3:
>
> acosh acos asinh asin
> atan2 atanh atan cabs
> cacosh cacos carg casinh
> casin catanh catan cbrt
> ccosh ccos ceil cexp
> cimag clog conj copysign
> cosh cos cpow cproj
> creal csinh csin csqrt
> ctanh ctan erfc erf
> exp2 exp expm1 fabs
> fdim floor fma fmax
> fmin fmod frexp hypot
> ilogb ldexp lgamma llrint
> llround log10 log1p log2
> logb log lrint lround
> modf nanf nearbyint nextafter
> pow remainder remquo rint
> round scalbln scalbn
> sinh sin sqrt tanh
> tan tgamma trunc nextup
> nextdown.
>
> From GNU:
>
> exp10 clog10 j0l j1l
> jnl lgamma?_r sincos
> y0 y1 yn
>
Err, anything taking a _Complex _FloatN argument should only
be declared via complex.h.
Likewise tgmath.h needs updated to correctly select
__float128 functions.