unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Can somebody help to explain why result from atan does not equal a real?
@ 2013-01-31 10:50 Hengqing Hu
  2013-01-31 13:32 ` Noah Lavine
  2013-01-31 23:51 ` Mark H Weaver
  0 siblings, 2 replies; 7+ messages in thread
From: Hengqing Hu @ 2013-01-31 10:50 UTC (permalink / raw)
  To: guile-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-01  9:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 10:50 Can somebody help to explain why result from atan does not equal a real? Hengqing Hu
2013-01-31 13:32 ` Noah Lavine
2013-01-31 14:50   ` John Darrington
2013-01-31 14:52     ` Noah Lavine
2013-01-31 23:51 ` Mark H Weaver
2013-02-01  0:30   ` Mark H Weaver
2013-02-01  9:10     ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).