This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/43405] sinl is not computed correctly



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]