[Webkit-unassigned] [Bug 19776] New: numbertoexponential gives wrong result for numbers between 0.1 & 0.9999

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 26 00:44:36 PDT 2008


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

           Summary: numbertoexponential gives wrong result  for numbers
                    between 0.1 & 0.9999
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at windywoo.f9.co.uk


f number is say 1.1 then numbertoexponential(4) = 1.1000e+0 -- which is fine.

number is 0.999 then numbertoexponential(4) = 9.9900e+1 -- which isn't.

numbers less than 0.1 & greater than 0.9999 give expected results.


tested on safari 2.0.4 & 3.1.1 & 4.beta


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