fix our aliasing idiocy by extending jsdpun, add Math.sqrt, add strict-aliasing to our Makefile.ref flags

This commit is contained in:
2008-07-14 18:22:05 -04:00
parent 67d3433d3b
commit a36149d375
6 changed files with 47 additions and 27 deletions

View File

@@ -147,6 +147,11 @@ jsdouble FASTCALL builtin_Math_pow(jsdouble d, jsdouble p)
return pow(d, p);
}
jsdouble FASTCALL builtin_Math_sqrt(jsdouble d)
{
return sqrt(d);
}
#define LO ARGSIZE_LO
#define F ARGSIZE_F
#define Q ARGSIZE_Q