From 3f23cc9fceb0fdf50e1960869c057cbc788135a8 Mon Sep 17 00:00:00 2001 From: Brian Harvey Date: Sun, 12 Feb 2017 22:07:13 -0800 Subject: [PATCH] bignumbers.xml: Fix handling of 0/0 and nonzero/0 Also add a SCHEME NUMBER [ v] OF ( ) block with all the predicates (real? etc), exact, inexact, numerator, etc. --- libraries/bignumbers.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/libraries/bignumbers.xml b/libraries/bignumbers.xml index ef45dcb6..fd4e0cfd 100644 --- a/libraries/bignumbers.xml +++ b/libraries/bignumbers.xml @@ -1 +1,18 @@ -
\ No newline at end of file +call with True to turn on the entire Scheme numeric tower, including infinite-precision integers, exact rationals, and complex numbers; call with False to restore native JavaScript arithmetic.
Provides Scheme arithmetic functions not in JavaScript
number? +complex? +real? +rational? +integer? +exact? +inexact? +exact +inexact +finite? +infinite? +nan? +numerator +denominator +real-part +imag-part +magnitude +angle
\ No newline at end of file