]> gitweb.factorcode.org Git - factor.git/commitdiff
math: fix help-lint
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 7 Feb 2024 21:10:05 +0000 (13:10 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 7 Feb 2024 21:10:05 +0000 (13:10 -0800)
basis/math/libm/libm-docs.factor
extra/math/affine-transforms/affine-transforms-docs.factor

index f0730f3f6add92454d3e6dc8e5857c016cda8ff7..65dd237e27ca2bb5b0b852f362856e64763674e3 100644 (file)
@@ -5,7 +5,7 @@ ARTICLE: "math.libm" "C standard library math functions"
 "The words in the " { $vocab-link "math.libm" } " vocabulary call C standard library math functions. They are used to implement words in the " { $vocab-link "math.functions" } " vocabulary."
 { $warning
 "These functions are unsafe. The compiler special-cases them to operate on floats only. They can be called directly, however there is little reason to do so, since they only implement real-valued functions, and in some cases place restrictions on the domain:"
-{ $example "USE: math.functions" "2.0 acos ." "C{ 0.0 1.316957896924817 }" }
+{ $example "USE: math.functions" "2.0 acos ." "C{ 0.0 1.3169578969248166 }" }
 { $unchecked-example "USE: math.libm" "2.0 facos ." "0/0." } }
 "Trigonometric functions:"
 { $subsections
index e89d82e5ab50bffc33a6e47546f7ab7932f59dc6..ccea7eeba23dd48b282018200d7aee87863e46e0 100644 (file)
@@ -9,7 +9,7 @@ ARTICLE: "math.affine-transforms" "Affine Transformations of 2d Vectors"
   "Creates a 45 degree counter clock-wise rotation matrix and applies it to a vector:"
   { $example
     "USING: math.affine-transforms math.functions prettyprint ;\n45 deg>rad <rotation> { 0 4 } a.v ."
-    "{ -2.82842712474619 2.82842712474619 }"
+    "{ -2.82842712474619 2.8284271247461903 }"
   }
   "Applies a combined scaling and translation transform to a vector:"
   { $example