RESOLVED FIXED 153071
[Win] Remove workarounds for fixed bugs in fmod and pow.
https://bugs.webkit.org/show_bug.cgi?id=153071
Summary [Win] Remove workarounds for fixed bugs in fmod and pow.
peavo
Reported 2016-01-13 10:52:58 PST
WTF has workarounds for bugs in the MSVC implementation of fmod and pow. I believe these have been fixed, and we can remove the workarounds.
Attachments
Patch (1.52 KB, patch)
2016-01-13 10:59 PST, peavo
no flags
Patch (2.67 KB, patch)
2016-01-13 13:37 PST, peavo
bfulgham: review+
peavo
Comment 1 2016-01-13 10:59:20 PST
peavo
Comment 2 2016-01-13 11:00:48 PST
I have only tested the following code: double a = NAN; bool isNan = isnan(a); double b = 0; double res = pow(a, b); double x = 3; double y = INFINITY; bool isInf = isinf(y); double result = fmod(x, y);
Brent Fulgham
Comment 3 2016-01-13 11:08:53 PST
Comment on attachment 268880 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=268880&action=review I like this change, but please wait to land for the win EWS to complete. > Source/WTF/ChangeLog:11 > + (wtf_atan2): Please delete this line (you didn't change wtf_atan2), but prepare-ChangeLog thinks you did.
peavo
Comment 4 2016-01-13 11:22:12 PST
(In reply to comment #3) > Comment on attachment 268880 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=268880&action=review > > I like this change, but please wait to land for the win EWS to complete. > > > Source/WTF/ChangeLog:11 > > + (wtf_atan2): > > Please delete this line (you didn't change wtf_atan2), but prepare-ChangeLog > thinks you did. Thanks for reviewing :) I will wait for the win EWS before landing.
peavo
Comment 5 2016-01-13 13:37:04 PST
peavo
Comment 6 2016-01-13 13:38:31 PST
(In reply to comment #5) > Created attachment 268901 [details] > Patch Trying again, fixed compile error :)
Brent Fulgham
Comment 7 2016-01-13 13:40:38 PST
Comment on attachment 268901 [details] Patch r=me
peavo
Comment 8 2016-01-14 00:53:12 PST
Note You need to log in before you can comment on or make changes to this bug.