[Bug c/43405] sinl is not computed correctly
eli dot osherovich at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 19 13:29:00 GMT 2010
------- Comment #9 from eli dot osherovich at gmail dot com 2010-03-19 13:29 -------
(In reply to comment #7)
> Subject: Re: sinl is not computed correctly
>
> On Thu, 18 Mar 2010, bangerth at gmail dot com wrote:
>
> > Also: 1e22 is not exactly representable as a floating point number. By
>
> 5**22 is smaller than 2**53, so 1e22 (= 5**22 * 2**22) *is* exactly
> representable in double or formats with more bits than double.
>
1e22 is not representable exactly in the binary format. Not because of its
magnitude, just because most numbers cannot be represented exactly in
computers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43405
More information about the Gcc-bugs
mailing list