avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] libm trouble


From: Peeter Vois
Subject: Re: [avr-gcc-list] libm trouble
Date: Sun, 8 Aug 2004 00:02:31 +0300

> Hmmm, what IS the log( -1.0 ) ???
> it doesn't exist in math

libm considers it to be NAN, which is correct in the context of real
numbers. Therefore what I'm pointing out is that 

1.0 + nan

makes strange things. The answer is nan, but something strange will
happen besides it: like erasing the RAM area.


Best Regards ...
Peeter Vois


reply via email to

[Prev in Thread] Current Thread [Next in Thread]