compiler.tests: forgot to check in x87-regression test way back

Slava Pestov 2010-08-20 18:36:26 -07:00
parent 858930c1f4
commit c82e186794
1 changed files with 10 additions and 0 deletions

View File

@ -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