HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
728ad4b
)
(fractions): Correction, equal? 3/4 .75 should be #f, according to R5RS.
author
Kevin Ryde
<user42@zip.com.au>
Tue, 17 Aug 2004 23:20:11 +0000
(23:20 +0000)
committer
Kevin Ryde
<user42@zip.com.au>
Tue, 17 Aug 2004 23:20:11 +0000
(23:20 +0000)
test-suite/tests/fractions.test
patch
|
blob
|
blame
|
history
diff --git
a/test-suite/tests/fractions.test
b/test-suite/tests/fractions.test
index
ae900a2
..
28fd12a
100644
(file)
--- a/
test-suite/tests/fractions.test
+++ b/
test-suite/tests/fractions.test
@@
-248,7
+248,7
@@
(testeq (eqv? 3/4 .75) #f)
(testeq (eqv? 3/4 3/4) #t)
(testeq (eqv? 10197734562406803221/17452826108659293487 10197734562406803221/17452826108659293487) #t)
- (testeq (equal? 3/4 .75) #
t
)
+ (testeq (equal? 3/4 .75) #
f
)
(testeq (number? 3/4) #t)
(testeq (real? 3/4) #t)
(testeq (integer? 3/4) #f)