Reviewed by Eric.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Oct 2007 19:10:40 +0000 (19:10 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Oct 2007 19:10:40 +0000 (19:10 +0000)
commitba210aa034c6b151be97702f4beac591633a667c
tree97ad2cfef2023b716dde54fd2f302054e83627ec
parent7d2187e5c0926730a0beffa7d2d0ac1620458c62
    Reviewed by Eric.

        - a couple of Windows fixes

        * wtf/MathExtras.h: (wtf_pow): Add a special case for MSVC, which has
        a "pow" function that does not properly handle the case where arg1 is
        NaN and arg2 is 0.

        * kjs/math_object.cpp: (MathFuncImp::callAsFunction): Don't explicity
        specify "::pow" -- just "pow" is fine.

        * wtf/ASCIICType.h: Check the compiler, not the OS, since it's the
        compiler/library that has the wchar_t that is just a typedef.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/math_object.cpp
JavaScriptCore/wtf/MathExtras.h