[MinGW-w64] Centralize workaround for pow() implementation
authorhausmann@webkit.org <hausmann@webkit.org>
Thu, 3 Jan 2013 09:54:36 +0000 (09:54 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 10 Jan 2013 13:16:44 +0000 (14:16 +0100)
commitd942482a69f6a72605cee42ff7724b23e62204bf
tree710cdc33088dfc2fb6ddea65d43dbe109cb3376b
parent9b144019dd99d696f1a9eb9cde6afa0f04d7dc05
[MinGW-w64] Centralize workaround for pow() implementation
https://bugs.webkit.org/show_bug.cgi?id=105925

Reviewed by Sam Weinig.

As suggested by Sam, move the MinGW-w64 workaround into MathExtras.h
away from the JSC usage.

Source/JavaScriptCore:

* runtime/MathObject.cpp:
(JSC::mathPow):

Source/WTF:

* wtf/MathExtras.h:
(wtf_pow):

Change-Id: I49b2365baae6fdd9700667d1ef53c78bd70f6de3
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/MathObject.cpp
Source/WTF/ChangeLog
Source/WTF/wtf/MathExtras.h