[Webkit-unassigned] [Bug 80009] Setting '0.6' to the value of a range input makes the value 0.6000000000000001

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 22 00:10:57 PDT 2012


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





--- Comment #6 from yosin at chromium.org  2012-03-22 00:10:57 PST ---
How about using std::decimal (aka ISO C++ TR24733[1]) available GCC 4.5.
decimal128 supports 
  exponent -6143 to 6144
  digits 34

It is wider than double(float64).

[1] http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.tr24733

Until all compilers support decimal128, we should have third party one or implemented by ourselves, not full version.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list