Merge branch 'master' of git://factorcode.org/git/factor
commit
9e61c433f1
|
|
@ -110,6 +110,9 @@ os linux? cpu x86.64? and [
|
|||
-1.0 3.0 /f double>bits
|
||||
] unit-test
|
||||
|
||||
! FP traps cause a kernel panic on OpenBSD 4.5 i386
|
||||
os openbsd eq? cpu x86.32 eq? and [
|
||||
|
||||
: test-traps ( traps inputs quot -- quot' )
|
||||
append '[ _ _ with-fp-traps ] ;
|
||||
|
||||
|
|
@ -177,6 +180,8 @@ os linux? cpu x86.64? and [
|
|||
[ f ] [ -15.0 0/0. ] \ u>= test-comparison-compiled unit-test
|
||||
] when
|
||||
|
||||
] unless
|
||||
|
||||
! Ensure traps get cleared
|
||||
[ 1/0. ] [ 1.0 0.0 /f ] unit-test
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue