Marius Vollmer
6140be99ba
Added copyright notice of Michael Stoll, who probably wrote the
...
original CLISP code.
2004-02-18 19:29:16 +00:00
Kevin Ryde
26bdd45f08
Remove 1/3 == 1.0/3.0, not true.
2004-02-18 00:28:41 +00:00
Marius Vollmer
581e4579de
Added GPL terms.
2004-02-17 21:37:47 +00:00
Kevin Ryde
fc5f3d51c1
(real-part): Expect fraction return, not converted to flonum.
2003-12-02 21:32:43 +00:00
Kevin Ryde
64b4cbe4f3
Exercise most-negative-fixnum over -ve of most-negative-fixnum.
2003-12-02 21:24:58 +00:00
Marius Vollmer
c1f1071afc
Changed to reflect the fact that rationalize only returns an exact
...
result for exact arguments. Fixed bugs in tests that were not caught
previously since all fraction were treated as equal regardless of
value.
2003-11-19 05:15:51 +00:00
Marius Vollmer
9dd9857f77
* tests/numbers.test ("string->number"): Expect exact rationals
...
for things like "1/2" and "#e1.2".
("inexact->exact"): Expect overflow error for infs and nans.
* tests/fractions.test: New file from Bill Schottstaedt. Thanks!
* tests/bit-operations.test (fixnum-bit): Round the result so that
fixnum-bit really is an integer.
2003-11-18 19:57:30 +00:00