[Webkit-unassigned] [Bug 199163] toExponential, toFixed, and toPrecision should allow arguments up to 100

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 24 15:38:51 PDT 2019


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

Ross Kirsling <ross.kirsling at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #379502|review?                     |review+
              Flags|                            |

--- Comment #9 from Ross Kirsling <ross.kirsling at sony.com> ---
Comment on attachment 379502
  --> https://bugs.webkit.org/attachment.cgi?id=379502
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=379502&action=review

LGTM pending EWS.

> Tools/TestWebKitAPI/Tests/WTF/WTFString.cpp:163
> -    EXPECT_STREQ("1000000000000000000000.000000", testStringNumberFixedWidth(1e21));
> -    EXPECT_STREQ("1000000000000000019884624838656.000000", testStringNumberFixedWidth(1e30));
> +    EXPECT_STREQ("", testStringNumberFixedWidth(1e21));
> +    EXPECT_STREQ("", testStringNumberFixedWidth(1e30));

I suppose the e30 cases could just be removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190924/3345e6f1/attachment.html>


More information about the webkit-unassigned mailing list