]> gitweb.factorcode.org Git - factor.git/blobdiff - core/math/math-docs.factor
Update Windows for word renames, fix lint errors
[factor.git] / core / math / math-docs.factor
index cc5f2d43f7a607fdbbe0c37153c81cbb052d0b1c..44420951fbf1f6ae873ca8342da9c60e5518364b 100644 (file)
@@ -444,7 +444,7 @@ ARTICLE: "number-protocol" "Number protocol"
 "Math operations obey certain numerical upgrade rules. If one of the inputs is a bignum and the other is a fixnum, the latter is first coerced to a bignum; if one of the inputs is a float, the other is coerced to a float."
 $nl
 "Two examples where you should note the types of the inputs and outputs:"
-{ $example "USE: classes" "3 >fixnum 6 >bignum * class ." "bignum" }
+{ $example "USE: classes" "3 >fixnum 6 >bignum * class-of ." "bignum" }
 { $example "1/2 2.0 + ." "2.5" }
 "The following usual operations are supported by all numbers."
 { $subsections