compiler.cfg.intrinsics: compile float-mod as a ##binary-float-function instead of a primitive call

db4
Slava Pestov 2009-09-11 21:00:17 -05:00
parent 96ca914972
commit 86a848bae6
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ IN: compiler.cfg.intrinsics
{ math.libm:fsqrt [ drop "sqrt" emit-unary-float-function ] } { math.libm:fsqrt [ drop "sqrt" emit-unary-float-function ] }
{ math.floats.private:float-min [ drop "fmin" emit-binary-float-function ] } { math.floats.private:float-min [ drop "fmin" emit-binary-float-function ] }
{ math.floats.private:float-max [ drop "fmax" emit-binary-float-function ] } { math.floats.private:float-max [ drop "fmax" emit-binary-float-function ] }
{ math.private:float-mod [ drop "fmod" emit-binary-float-function ] }
} enable-intrinsics ; } enable-intrinsics ;
: enable-min/max ( -- ) : enable-min/max ( -- )