From: Taylor R Campbell Date: Mon, 26 Nov 2018 03:06:31 +0000 (+0000) Subject: Note flo:classify and flo:subnormal?. X-Git-Tag: mit-scheme-pucked-10.1.7~3^2~170 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=3da777fe54999d471ec6b2f266107d1b4f83442c;p=mit-scheme.git Note flo:classify and flo:subnormal?. --- diff --git a/src/relnotes/flonum b/src/relnotes/flonum index e852e3d9c..b1a7c05d9 100644 --- a/src/relnotes/flonum +++ b/src/relnotes/flonum @@ -50,3 +50,11 @@ New flonum-related definitions: which (expt 10. x) gives a finite result. . (flo:ldexp x e) = x * 2^e . (flo:scalbn x e) = x * b^e, where b is flo:radix +. (flo:classify x) returns one of the symbols + - zero + - subnormal + - normal + - infinite + - nan +. (flo:subnormal? x) is true if x is subnormal; false if zero, normal, + infinite, or NaN