[Webkit-unassigned] [Bug 15761] Speed up JSImmediate::getTruncated* by using custom float -> int code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 19:23:49 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15761





------- Comment #3 from eric at webkit.org  2007-10-30 19:23 PDT -------
The test output:

Running JSImmediate::getTruncated* tests, this will take a while.
                       testing : -2147483648 : 1000 0000 0000 0000 0000 0000
0000 0000 
getTruncatedUInt32 -0.000000 expected: 0 (1) got: 0 (0)
                       testing : -822083584 : 1100 1111 0000 0000 0000 0000
0000 0000 
getTruncatedInt32  -2147483648.000000 expected: -2147483648 (1) got:
-2147483648 (0)

The first failure is obvious.  Not sure if we need to support it (depending on
how 0 is stored in JSImmediate floats), probably though.  The second failure
seems to be related to exponent size.


-- 
Configure bugmail: http://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