This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: sparc, ia64: Compute cos(M_PI_2l) for your 128-bit long double please.
- From: Andreas Schwab <schwab at suse dot de>
- To: Rich Felker <dalias at aerifal dot cx>
- Cc: David Miller <davem at davemloft dot net>, carlos at redhat dot com, vapier at gentoo dot org, brooks_moses at mentor dot com, libc-alpha at sourceware dot org, joseph at codesourcery dot com, aj at suse dot com, thomas at codesourcery dot com
- Date: Thu, 11 Apr 2013 15:06:47 +0200
- Subject: Re: sparc, ia64: Compute cos(M_PI_2l) for your 128-bit long double please.
- References: <5164D25B dot 9090406 at redhat dot com> <m2fvyyjp82 dot fsf at igel dot home> <5165CFDE dot 6020709 at redhat dot com> <20130410 dot 233850 dot 1096713545971361798 dot davem at davemloft dot net> <20130411123902 dot GF20323 at brightrain dot aerifal dot cx>
Rich Felker <dalias@aerifal.cx> writes:
> I would just use something like "%.100000g\n".
If you use %g you need at most DECIMAL_DIG digits.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."