From c503659a93682f7a39a6759a124a46c101c451a8 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Fri, 9 Jun 2017 11:28:21 -0700 Subject: [PATCH] math.functions: fix another test impacted by float truncate change. --- basis/math/functions/functions-tests.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/math/functions/functions-tests.factor b/basis/math/functions/functions-tests.factor index 6aacd8b26c..f0f3930c83 100644 --- a/basis/math/functions/functions-tests.factor +++ b/basis/math/functions/functions-tests.factor @@ -191,7 +191,7 @@ CONSTANT: log10-factorial-1000 0x1.40f3593ed6f8ep11 { 1 } [ 1/2 round ] unit-test { 1 } [ 3/5 round ] unit-test -{ t } [ -0.3 round double>bits -0.0 double>bits = ] unit-test +{ t } [ -0.3 round double>bits 0.0 double>bits = ] unit-test { t } [ 0.3 round double>bits 0.0 double>bits = ] unit-test ! A signaling NaN should raise an exception