This is the mail archive of the gcc-help@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]

Re: surprising precision


On 03/03/10 20:29, Jonathan wrote:
> Please have a look at my query posted at the following 3 forums.
> It has not received any explanations yet.
> On the one hand it appears not to be a problem but on the other hand
> could be a spectacular bug.
> 
> http://forums.debian.net/viewtopic.php?f=8&t=49627
> 
> http://www.linux.com/community/forums?func=view&catid=17&id=4589
> 
> http://www.linuxformat.com/forums/viewtopic.php?t=11688

This does not surprise me at all.  These are just powers of 2.
I don't know why you find it surprising.  If you could explain
why you find it surprising, perhaps we could help.  Do you
understand floating-point arithmetic?

Andrew.


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