compiler.tests: forgot to check in x87-regression test way back
parent
97e6ac1c50
commit
25ed4dd298
|
@ -0,0 +1,10 @@
|
||||||
|
IN: compiler.tests.x87-regression
|
||||||
|
USING: math.floats.env alien.syntax alien.c-types compiler.test
|
||||||
|
tools.test kernel math ;
|
||||||
|
|
||||||
|
LIBRARY: libm
|
||||||
|
FUNCTION: double sqrt ( double x ) ;
|
||||||
|
|
||||||
|
[ { } ] [
|
||||||
|
4.0 [ [ 100 [ dup sqrt drop ] times ] collect-fp-exceptions nip ] compile-call
|
||||||
|
] unit-test
|
Loading…
Reference in New Issue