From 3da777fe54999d471ec6b2f266107d1b4f83442c Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Mon, 26 Nov 2018 03:06:31 +0000 Subject: [PATCH] Note flo:classify and flo:subnormal?. --- src/relnotes/flonum | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.25.1