This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: libm-test.inc: Computing ulps near FP_ZERO.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: Rich Felker <dalias at aerifal dot cx>, Brooks Moses <brooks_moses at mentor dot com>, GNU C Library <libc-alpha at sourceware dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, Andreas Jaeger <aj at suse dot com>, Thomas Schwinge <thomas at codesourcery dot com>, David Miller <davem at davemloft dot net>
- Date: Wed, 10 Apr 2013 18:59:57 +0200
- Subject: Re: libm-test.inc: Computing ulps near FP_ZERO.
- References: <5160A4D7 dot 9080802 at codesourcery dot com> <516183BD dot 6060700 at redhat dot com> <5161AADF dot 2040403 at codesourcery dot com> <5161FA1A dot 5060100 at redhat dot com> <51620F35 dot 5080101 at codesourcery dot com> <51634CA1 dot 4050006 at redhat dot com> <51636912 dot 10702 at codesourcery dot com> <5163710F dot 9080500 at mentor dot com> <20130409020954 dot GT20323 at brightrain dot aerifal dot cx> <51643640 dot 5090900 at redhat dot com> <20130409160141 dot GX20323 at brightrain dot aerifal dot cx> <51645137 dot 3030905 at redhat dot com> <m2fvyz1f0a dot fsf at igel dot home> <5164D25B dot 9090406 at redhat dot com>
"Carlos O'Donell" <carlos@redhat.com> writes:
> cos(1.5707963267948966192564044797030931022163713350892066955566406250000000000000000000000000000000000000e+00)
> = -2.508278806334166011778663540165378506916569872238747334316923792121510019488616529065465240162807803475378148593... Ã 10^-20
>
> Compare the result to that above.
cos(1.570796326794896619231321691639740613531845480547870673025773690344164545962257761857472360134124756) = 1.08285667392191396822374616986058097436571808467374565450525369335663686512102570113103548107282589776676871790606... Ã 10^-32
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."