Fixing docs typo in math.floats
parent
d93f6ed1f3
commit
8873d63956
|
@ -10,21 +10,21 @@ HELP: >float
|
||||||
|
|
||||||
HELP: bits>double ( n -- x )
|
HELP: bits>double ( n -- x )
|
||||||
{ $values { "n" "a 64-bit integer representing an IEEE 754 double-precision float" } { "x" float } }
|
{ $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
|
{ bits>double bits>float double>bits float>bits } related-words
|
||||||
|
|
||||||
HELP: bits>float ( n -- x )
|
HELP: bits>float ( n -- x )
|
||||||
{ $values { "n" "a 32-bit integer representing an IEEE 754 single-precision float" } { "x" float } }
|
{ $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 )
|
HELP: double>bits ( x -- n )
|
||||||
{ $values { "x" float } { "n" "a 64-bit integer representing an IEEE 754 double-precision float" } }
|
{ $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 )
|
HELP: float>bits ( x -- n )
|
||||||
{ $values { "x" float } { "n" "a 32-bit integer representing an IEEE 754 single-precision float" } }
|
{ $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
|
! Unsafe primitives
|
||||||
HELP: float+ ( x y -- z )
|
HELP: float+ ( x y -- z )
|
||||||
|
|
Loading…
Reference in New Issue