[Webkit-unassigned] [Bug 9678] fmod function of MS CRT returns NaN for x / Inf

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Jul 3 20:20:51 PDT 2006


bjoern.graf at gmail.com changed:

           What    |Removed                     |Added
   Attachment #9183|                            |review?
               Flag|                            |

------- Comment #3 from bjoern.graf at gmail.com  2006-07-03 20:20 PDT -------
Created an attachment (id=9183)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=9183&action=view)
Workaround for MSVCRTs fmod function

This patch implements the necessary workaround in wtf/MathExtras.h.

Defining fmod inside the KJS namespace would have worked, if all call sites
where in the namespace explicitly. However, being implicitly declared in the
namespace and defined in it via the using namespace KJS; directive requires the
#define workaround.

Needed to change isinf() because NaN is not finite.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list