SapphireDensetsu / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

infinite? does not accept complex numbers #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. (infinite? 1+2i) 
2. (infinite? (+ +inf.0 2i))

What is the expected output? What do you see instead?
#f and #t, but an error is raised

What version of the product are you using? On what operating system?
ypsilon checkout 354, i686-pc-linux-gnu

Original issue reported on code.google.com by mrc....@gmail.com on 13 Jan 2009 at 12:32

GoogleCodeExporter commented 8 years ago
NAN? has the same problem

Original comment by mrc....@gmail.com on 13 Jan 2009 at 12:59

GoogleCodeExporter commented 8 years ago
Correction: I am wrong. R6RS states that FINITE?, INFINITE? and NAN? reject 
complex
numbers.

Original comment by mrc....@gmail.com on 13 Jan 2009 at 1:38

GoogleCodeExporter commented 8 years ago
It's confusing, I know ;)
-- fujita

Original comment by y.fujita...@gmail.com on 15 Jan 2009 at 4:12