From 8873d6395617fe204bdbf9c64d4acfffa8f65954 Mon Sep 17 00:00:00 2001 From: Daniel Ehrenberg Date: Tue, 18 Aug 2009 00:02:19 -0500 Subject: [PATCH] Fixing docs typo in math.floats --- core/math/floats/floats-docs.factor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/math/floats/floats-docs.factor b/core/math/floats/floats-docs.factor index 1305f2a18d..ed4947e1f5 100644 --- a/core/math/floats/floats-docs.factor +++ b/core/math/floats/floats-docs.factor @@ -10,21 +10,21 @@ HELP: >float HELP: bits>double ( n -- x ) { $values { "n" "a 64-bit integer representing an IEEE 754 double-precision float" } { "x" float } } -{ $description "Creates a " { $link float } " object from a binary representation. This word is usually used to reconstruct floats read from streams." } ; +{ $description "Creates a " { $link float } " object from a 64-bit binary representation. This word is usually used to reconstruct floats read from streams." } ; { bits>double bits>float double>bits float>bits } related-words HELP: bits>float ( n -- x ) { $values { "n" "a 32-bit integer representing an IEEE 754 single-precision float" } { "x" float } } -{ $description "Creates a " { $link float } " object from a binary representation. This word is usually used to reconstruct floats read from streams." } ; +{ $description "Creates a " { $link float } " object from a 32-bit binary representation. This word is usually used to reconstruct floats read from streams." } ; HELP: double>bits ( x -- n ) { $values { "x" float } { "n" "a 64-bit integer representing an IEEE 754 double-precision float" } } -{ $description "Creates a " { $link float } " object from a binary representation. This word is usually used to reconstruct floats read from streams." } ; +{ $description "Creates a 64-bit binary representation of a " { $link float } " object. This can be used in the process of writing a float to a stream." } ; HELP: float>bits ( x -- n ) { $values { "x" float } { "n" "a 32-bit integer representing an IEEE 754 single-precision float" } } -{ $description "Creates a " { $link float } " object from a binary representation. This word is usually used to reconstruct floats read from streams." } ; +{ $description "Creates a 32-bit binary representation of a " { $link float } " object. This can be used in the process of writing a float to a stream." } ; ! Unsafe primitives HELP: float+ ( x y -- z )