Inexact integers Lassi Kortela (18 Nov 2019 12:18 UTC)
Re: Inexact integers John Cowan (18 Nov 2019 14:57 UTC)
Re: Inexact integers Lassi Kortela (18 Nov 2019 17:57 UTC)
Re: Inexact integers John Cowan (18 Nov 2019 18:22 UTC)
Re: Inexact integers Lassi Kortela (18 Nov 2019 18:43 UTC)
Re: Inexact integers Lassi Kortela (18 Nov 2019 18:58 UTC)

Re: Inexact integers Lassi Kortela 18 Nov 2019 18:58 UTC

> Both Chicken and Guile return (exact? 123#) => #f so that number is
> probably not distinguishable from the float 123.0.

I meant 1230.0.

Chicken:

(=    123# 1230.0)  ; => #t
(eqv? 123# 1230.0)  ; => #t
(eq?  123# 1230.0)  ; => #f !!

Guile:

(=    123# 1230.0)  ; => #t
(eqv? 123# 1230.0)  ; => #t
(eq?  123# 1230.0)  ; => #t