guile-user
[Top][All Lists]
Advanced

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

Can somebody help to explain why result from atan does not equal a real?


From: Hengqing Hu
Subject: Can somebody help to explain why result from atan does not equal a real?
Date: Thu, 31 Jan 2013 18:50:43 +0800

Dear list,

The following behavior is observed on both guile 1.8 and guile 2.0.
Is it correct?
Can somebody elaborate why it happens?

guile> (atan 0 -1)
3.14159265358979
guile> (= 3.14159265358979 3.14159265358979)
#t
guile> (= (atan 0 -1) 3.14159265358979)
#f

-- 
Best Regards, Hengqing Hu



reply via email to

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