ちゃんとやろうとすると厄介だなあ。 とりあえず情報集め。
Chez | Guile | PLT Scheme | Gambit | Chicken | SCM | Bigloo | Kawa | |
NaN | +nan.0 | +nan.0 | +nan.0 | +nan. | nan. | #.# | #.# | #i0/0 |
+Inf | +inf.0 | +inf.0 | +inf.0 | +inf. | +inf. | +#.# | +#.# | #i1/0 |
-Inf | -inf.0 | -inf.0 | -inf.0 | -inf. | -inf. | -#.# | -#.# | #i-1/0 |
Chez | Guile | PLT Scheme | Gambit | Chicken | SCM | Bigloo | Kawa | |
-0 | O | O | O | O | O | X | X | O |
readable? | O | X | O | O | O | X | X | O |
(pred NaN NaN)
Chez | Guile | PLT Scheme | Gambit | Chicken | SCM | Bigloo | Kawa | |
eq? | #t | #t | #t | #t | #t | #t | #t | |
= | #f | #f | #f | #f | #f | #f | #f | |
eqv? | #t | #t | #t | #t | #t | #f | #t | |
equal? | #t | #t | #t | #t | #t | #t | #t |
Tag: 数値