Skip to content

Commit

Permalink
math: fix help-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Feb 7, 2024
1 parent 7142ba3 commit 5ed35a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion basis/math/libm/libm-docs.factor
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extra/math/affine-transforms/affine-transforms-docs.factor
Expand Up @@ -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
Expand Down

0 comments on commit 5ed35a8

Please sign in to comment.