From: John Benediktsson Date: Wed, 7 Feb 2024 21:10:05 +0000 (-0800) Subject: math: fix help-lint X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=5ed35a8b8ca6e5052265f66c685e492d914532fd math: fix help-lint --- diff --git a/basis/math/libm/libm-docs.factor b/basis/math/libm/libm-docs.factor index f0730f3f6a..65dd237e27 100644 --- a/basis/math/libm/libm-docs.factor +++ b/basis/math/libm/libm-docs.factor @@ -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 diff --git a/extra/math/affine-transforms/affine-transforms-docs.factor b/extra/math/affine-transforms/affine-transforms-docs.factor index e89d82e5ab..ccea7eeba2 100644 --- a/extra/math/affine-transforms/affine-transforms-docs.factor +++ b/extra/math/affine-transforms/affine-transforms-docs.factor @@ -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 { 0 4 } a.v ." - "{ -2.82842712474619 2.82842712474619 }" + "{ -2.82842712474619 2.8284271247461903 }" } "Applies a combined scaling and translation transform to a vector:" { $example