summaryrefslogtreecommitdiffstats
path: root/bytenumb.txi
diff options
context:
space:
mode:
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