compiler.cfg.intrinsics: compile float-mod as a ##binary-float-function instead of a primitive call
parent
96ca914972
commit
86a848bae6
|
@ -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 ( -- )
|
||||||
|
|
Loading…
Reference in New Issue