summaryrefslogtreecommitdiffstats
path: root/bytenumb.txi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:38 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:38 -0800
commit64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34 (patch)
tree1b23b8e8005328194e2fb4bf653806c85050933f /bytenumb.txi
parent5bea21e81ed516440e34e480f2c33ca41aa8c597 (diff)
downloadslib-64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34.tar.gz
slib-64f037d91e0c9296dcaef9a0ff3eb33b19a2ed34.zip
Import Upstream version 3a5upstream/3a5
Diffstat (limited to 'bytenumb.txi')
-rw-r--r--bytenumb.txi7
1 files changed, 4 insertions, 3 deletions
diff --git a/bytenumb.txi b/bytenumb.txi
index 97f9b26..d5fc680 100644
--- a/bytenumb.txi
+++ b/bytenumb.txi
@@ -66,6 +66,7 @@ value of @var{bytes} interpreted as a big-endian IEEE 4-byte (32-bit) number.
(bytes->ieee-float (bytes #xff #x80 0 0)) @result{} -inf.0
(bytes->ieee-float (bytes #x7f #x80 0 0)) @result{} +inf.0
(bytes->ieee-float (bytes #x7f #x80 0 1)) @result{} 0/0
+(bytes->ieee-float (bytes #x7f #xc0 0 0)) @result{} 0/0
@end example
@@ -111,7 +112,7 @@ floating-point of @var{x}.
(bytes->list (ieee-float->bytes -inf.0)) @result{} (255 128 0 0)
(bytes->list (ieee-float->bytes +inf.0)) @result{} (127 128 0 0)
-(bytes->list (ieee-float->bytes 0/0)) @result{} (127 128 0 1)
+(bytes->list (ieee-float->bytes 0/0)) @result{} (127 192 0 0)
@end example
@@ -180,7 +181,7 @@ byte-vectors matches numerical order. @code{ieee-byte-collate!} returns @var{by
@deffn {Procedure} ieee-byte-decollate! byte-vector
-Given @var{byte-vector} modified by @code{IEEE-byte-collate!}, reverses the @var{byte-vector}
+Given @var{byte-vector} modified by @code{ieee-byte-collate!}, reverses the @var{byte-vector}
modifications.
@end deffn
@@ -194,7 +195,7 @@ floating-point byte-vectors matches numerical order.
@defun ieee-byte-decollate byte-vector
-Given @var{byte-vector} returned by @code{IEEE-byte-collate}, reverses the @var{byte-vector}
+Given @var{byte-vector} returned by @code{ieee-byte-collate}, reverses the @var{byte-vector}
modifications.
@end defun