]> gitweb.factorcode.org Git - factor.git/commitdiff
math, syntax: fix help lint
authorSlava Pestov <slava@factorcode.org>
Sun, 13 Sep 2009 01:07:31 +0000 (21:07 -0400)
committerSlava Pestov <slava@factorcode.org>
Sun, 13 Sep 2009 01:07:31 +0000 (21:07 -0400)
core/math/math-docs.factor
core/syntax/syntax-docs.factor

index d98685fb48e597e40d04d8ad5a64ceab73b7a384..97e0a1e7cf4f1c43d3f8ebd4a972e4747174e85c 100644 (file)
@@ -282,12 +282,12 @@ HELP: fp-bitwise=
 { $examples
     "Not-a-number equality:"
     { $example
-        "USING: math prettyprint ;"
+        "USING: kernel math prettyprint ;"
         "0.0 0.0 / dup number= ."
         "f"
     }
     { $example
-        "USING: math prettyprint ;"
+        "USING: kernel math prettyprint ;"
         "0.0 0.0 / dup fp-bitwise= ."
         "t"
     }
@@ -299,7 +299,7 @@ HELP: fp-bitwise=
     }
     { $example
         "USING: math prettyprint ;"
-        "-0.0 0.0 = ."
+        "-0.0 0.0 number= ."
         "t"
     }
 } ;
index 19e644cb6856a580f644202996318c68f52f6615..0a11f62c16801362e7db12bb17a86d9d9cc3ef9a 100644 (file)
@@ -612,8 +612,8 @@ HELP: NAN:
 { $examples
     { $example
         "USE: prettyprint"
-        "NAN: deadbeef ."
-        "NAN: deadbeef"
+        "NAN: 80000deadbeef ."
+        "NAN: 80000deadbeef"
     }
 } ;