]> gitweb.factorcode.org Git - factor.git/commitdiff
"math" help-lint
authorJoe Groff <arcata@gmail.com>
Sun, 10 May 2009 01:23:56 +0000 (20:23 -0500)
committerJoe Groff <arcata@gmail.com>
Sun, 10 May 2009 01:23:56 +0000 (20:23 -0500)
core/math/math-docs.factor

index 75370d6cfd3079f655ac9b97f21f5acde9cd4bf8..e5f68a511cbdf566088e2b2f510cbcbd7ddb267f 100644 (file)
@@ -274,7 +274,7 @@ HELP: fp-nan-payload
 { $description "If " { $snippet "x" } " is an IEEE Not-a-Number value, returns the payload encoded in the value. Returns " { $link f } " if " { $snippet "x" } " is not a " { $link float } "." } ;
 
 HELP: <fp-nan>
-{ $values { "payload" integer } { "float" float } }
+{ $values { "payload" integer } { "nan" float } }
 { $description "Constructs an IEEE Not-a-Number value with a payload of " { $snippet "payload" } "." }
 { $notes "A " { $snippet "payload" } " of " { $snippet "0" } " will construct an Infinity value." } ;