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

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jul 1 15:11:39 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9678


bjoern.graf at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9128|                            |review?
               Flag|                            |




------- Comment #1 from bjoern.graf at gmail.com  2006-07-01 15:11 PDT -------
Created an attachment (id=9128)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=9128&action=view)
MS CRT fmod bug workaround where x % (1/0) = NaN, not x.

The workaround checks the arguments for infinity and only calls fmod when the
divisor is not infinite. Otherwise it returns the dividend.


-- 
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