[Webkit-unassigned] [Bug 26490] Add isFinite method to floating point types.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 2 09:47:49 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26490


bfulgham at webkit.org changed:

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




------- Comment #1 from bfulgham at webkit.org  2009-07-02 09:47 PDT -------
Created an attachment (id=32185)
 --> (https://bugs.webkit.org/attachment.cgi?id=32185&action=view)
Add 'isFinite' operator to floating point types

I put this patch together and realized the only place it's really useful (so
far) is in the ImageCairo.cpp file.  Is this change really worth it?

I didn't bother writing changelog, etc., since it seems like the patch is sort
of useless unless several routines are changed from using sets of bare
float/double values to the corresponding WebKit types.

Examples:
(1)  html/CanvasRenderingContext2D.cpp is passed the individual ordinates as
separate values (rather than as a single WebKit type) that are then tested for
finite-ness.
(2) page/DOMWindow.cpp tests for 'isfinite' in separate ASSERTs, but I don't
think the code is helped by using a WebKit type check here, as it would lose
the ability to see which ASSERT is failing.


-- 
Configure bugmail: https://bugs.webkit.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