projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94015cb
)
Note flo:classify and flo:subnormal?.
author
Taylor R Campbell
<campbell@mumble.net>
Mon, 26 Nov 2018 03:06:31 +0000
(
03:06
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Mon, 26 Nov 2018 03:06:31 +0000
(
03:06
+0000)
src/relnotes/flonum
patch
|
blob
|
history
diff --git
a/src/relnotes/flonum
b/src/relnotes/flonum
index e852e3d9c627c9625d505d7fd811bb506c5a102f..b1a7c05d9d369092506f119285009e0c1deb66e3 100644
(file)
--- 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