-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=88592 Reviewed by Filip Pizlo. Import an implementation from fdlibm, detect cases where it is safe to use the system implementation & where we should fall back to fdlibm. * runtime/MathObject.cpp: (JSC::isDenormal): (JSC::isEdgeCase): (JSC::mathPow): - On iOS, detect cases where denormal support may be required & use fdlibm in these cases. (JSC::mathProtoFuncPow): - Changed to use mathPow. (JSC::fdlibmScalbn): (JSC::fdlibmPow): - These functions imported from fdlibm; original style retained to ease future merging. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4838693e