2011/1/5 shimi <linux...@shimi.net> > > On Wed, Jan 5, 2011 at 1:52 PM, shimi <linux...@shimi.net> wrote: > >> >> It has something to do with the precision attempting algorithm of floating >> point numbers, and the way it is done on fpu87 in 32bit processors. It tries >> to get close to the number below a certain point which is impossible, and >> the algorithm does not check to see if it is not actually progressing in >> getting closer to the minimal precision error. Hence it's an infinite loop. >> >> Compiling with -mfpmath=sse will also solve the problem. >> >> > And a more thorough explanation: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323#c109 > > -- Shimi > > Hi all -
A really great paper concerning floating point representation can be found at http://docs.sun.com/source/806-3568/ncg_goldberg.html - What Every Computer Scientist Should Know About Floating-Point Arithmetic -Mike
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il