[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about floating numbers and call-with-current-continuation
From: |
Thien-Thi Nguyen |
Subject: |
Re: Questions about floating numbers and call-with-current-continuation |
Date: |
Tue, 04 Sep 2001 19:44:02 -0700 |
From: Ying Luo <address@hidden>
Date: Wed, 05 Sep 2001 10:06:32 +0800
guile> (truncate (* 2127.7 100))
212769.0
perhaps you can use `inexact->exact' instead of `truncate'?
guile> (zero? (- 264 (* 2.64 100)))
#f
for guile-1.5.x, i see:
guile> (zero? (- 264 (* 2.64 100)))
#t
you should try 1.5.1 (1.5.2 soon to be released, i hope) and feel free
to expand on test-suite/tests/numbers.test in the distribution.
thi