1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
Commit graph

13 commits

Author SHA1 Message Date
Neil Jerram
53befeb700 Change Guile license to LGPLv3+
(Not quite finished, the following will be done tomorrow.
   module/srfi/*.scm
   module/rnrs/*.scm
   module/scripts/*.scm
   testsuite/*.scm
   guile-readline/*
)
2009-06-17 00:22:09 +01:00
Kevin Ryde
6e7d5622ee merge from 1.8 branch 2006-04-16 23:37:40 +00:00
Marius Vollmer
92205699d0 The FSF has a new address. 2005-05-23 19:57:22 +00:00
Kevin Ryde
ffb468f7f9 (ash): Remove tests of ash on fractions, not
supported after scm_ash rewrite.
2005-02-10 20:37:19 +00:00
Marius Vollmer
6005b7a235 Don't expect (expt 1/2 2.0) to yield an exact result, use (expt 1/2 2)
instead.
2004-09-08 16:19:51 +00:00
Kevin Ryde
b82cab94d6 (fractions): Correction, equal? 3/4 .75 should be #f, according to R5RS. 2004-08-17 23:20:11 +00:00
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