1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/module
Mark H Weaver fa102e73c3 Fix numerator and denominator handling of signed zeroes and infinities.
* libguile/numbers.c (scm_numerator, scm_denominator): Handle signed
  zeroes and infinities in accordance with the corresponding R6RS flonum
  procedures.

* module/rnrs/arithmetic/flonums.scm (flnumerator, fldenominator):
  Remove special handling of infinities.

* test-suite/tests/numbers.test (numerator, denominator): Add tests.
  Convert existing tests to use 'pass-if-equal'.

* test-suite/tests/r6rs-arithmetic-flonums.test (flnumerator): Fix
  broken test of (flnumerator -0.0).
2013-08-09 06:09:56 -04:00
..
ice-9 Print the faulty object upon invalid-keyword errors. 2013-06-04 12:08:02 +02:00
language Decompiler: fix handling of empty 'case-lambda' expressions. 2013-08-07 05:54:15 -04:00
oop Clarify the copyright status of GOOPS. 2013-01-26 15:41:05 +01:00
rnrs Fix numerator and denominator handling of signed zeroes and infinities. 2013-08-09 06:09:56 -04:00
scripts Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
srfi Add record type printer for srfi-41. 2013-04-07 12:44:31 -04:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Consume a peeked EOF at the REPL. 2013-04-08 08:44:02 -04:00
texinfo texinfo plain-text: Use match' for stexi->plain-text'. 2013-03-22 22:09:05 +01:00
web Add support for HTTP proxies. 2013-07-16 19:33:32 -04:00
Makefile.am build: Build and check (ice-9 popen) only when --enable-posix and HAVE_FORK. 2013-03-29 19:20:01 +01:00
rnrs.scm Add missing R6RS `open-file-input/output-port' procedure 2012-11-12 20:47:57 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm texinfo: Recognize `@:'. 2013-03-21 18:52:29 +01:00