From 83116c64395f72408a0b0ca773ba10458ac7430e Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 31 Jan 2009 21:02:13 -0600 Subject: [PATCH] Change example to unchecked-example since on netbsd math functions return 0 instead of NaN on domain errors --- basis/math/libm/libm-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/math/libm/libm-docs.factor b/basis/math/libm/libm-docs.factor index 72c114487b..bf4c608d77 100644 --- a/basis/math/libm/libm-docs.factor +++ b/basis/math/libm/libm-docs.factor @@ -6,7 +6,7 @@ ARTICLE: "math.libm" "C standard library math functions" $nl "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 acos ." "C{ 0.0 1.316957896924817 }" } -{ $example "USE: math.libm" "2 facos ." "0.0/0.0" } +{ $unchecked-example "USE: math.libm" "2 facos ." "0.0/0.0" } "Trigonometric functions:" { $subsection fcos } { $subsection fsin }