|
|
Message-Id: <mwa6tjlrv6.fsf@tomate.loria.fr>
Date: Fri, 08 Jan 2021 10:06:53 +0100
From: Paul Zimmermann <Paul.Zimmermann@...ia.fr>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: issue with exp10l
Dear Rich,
> OK, on further investigation it looks like your problem is that you're
> not passing a NAN but a trap representation. The representation is
> only a nan if the exponent value is 0x7fff. For exponent not 0x7fff or
> 0, the high bit of the significand must be set; otherwise it's a trap
> representation.
thank you. I have now forced the high bit of the significand to be set,
and it works better indeed. I have found errors up to 40 ulps for exp10l:
exp10l 0xd.41cfe8659e3d7eep+8l 40.1
Best regards,
Paul
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.