]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/math/vectors/vectors-docs.factor
use radix literals
[factor.git] / basis / math / vectors / vectors-docs.factor
index 59246a6e64503c169b07b50fd46009fbb23b39ef..12707a696f610630617d262d24e18e96f7ad58d7 100644 (file)
@@ -150,7 +150,7 @@ int-4{ f f t f } ."""
 $nl
 "Providing a SIMD boolean vector with element values other than the proper true and false representations as an input to the vector logical or test operations is undefined. Do not count on operations such as " { $link vall? } " or " { $link v? } " using bitwise operations to construct their results."
 $nl
-"This applies to the output of the following element comparison words: "
+"This applies to the output of the following element comparison words:"
 { $list
 { $link v< }
 { $link v<= }
@@ -438,14 +438,14 @@ HELP: vshuffle
         "        { 4 [ uchar-16{ 3 2 1 0 7 6 5 4 11 10 9 8 15 14 13 12 } ] }"
         "    } case ;"
         ""
-        "int-4{ HEX: 11223344 HEX: 11223344 HEX: 11223344 HEX: 11223344 }"
+        "int-4{ 0x11223344 0x11223344 0x11223344 0x11223344 }"
         "4 endian-swap vshuffle"
         "16 number-base [ . ] with-variable"
         """int-4{
-    HEX: 44332211
-    HEX: 44332211
-    HEX: 44332211
-    HEX: 44332211
+    0x44332211
+    0x44332211
+    0x44332211
+    0x44332211
 }"""
     }
 } ;