From 9dbfc9351cf4a45fa2e23e1b493ea37f66b4d92b Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Thu, 28 Dec 2017 00:43:51 -0800 Subject: [PATCH] math.functions: nan: -> NAN: oops --- basis/math/functions/functions-tests.factor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/basis/math/functions/functions-tests.factor b/basis/math/functions/functions-tests.factor index fce60c6c20..bc468931e1 100644 --- a/basis/math/functions/functions-tests.factor +++ b/basis/math/functions/functions-tests.factor @@ -199,10 +199,10 @@ CONSTANT: log10-factorial-1000 0x1.40f3593ed6f8ep11 ! XXX: disabling to get linux32 binary ! HACK: bug in factor or in vmware? ! TODO: fix this test on linux32 vmware -! { { +fp-invalid-operation+ } } [ [ nan: 4000000000000 truncate drop ] collect-fp-exceptions ] unit-test -{ { +fp-invalid-operation+ } } [ [ nan: 4000000000000 round drop ] collect-fp-exceptions ] unit-test -{ { +fp-invalid-operation+ } } [ [ nan: 4000000000000 ceiling drop ] collect-fp-exceptions ] unit-test -{ { +fp-invalid-operation+ } } [ [ nan: 4000000000000 floor drop ] collect-fp-exceptions ] unit-test +! { { +fp-invalid-operation+ } } [ [ NAN: 4000000000000 truncate drop ] collect-fp-exceptions ] unit-test +{ { +fp-invalid-operation+ } } [ [ NAN: 4000000000000 round drop ] collect-fp-exceptions ] unit-test +{ { +fp-invalid-operation+ } } [ [ NAN: 4000000000000 ceiling drop ] collect-fp-exceptions ] unit-test +{ { +fp-invalid-operation+ } } [ [ NAN: 4000000000000 floor drop ] collect-fp-exceptions ] unit-test { -5 } [ -4-3/5 round-to-even ] unit-test { -4 } [ -4-1/2 round-to-even ] unit-test