Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: LayoutTests/fast/css/round-trip-values-expected.txt

Issue 285643006: Kill WTF::DecimalNumber class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Inline single-line function Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 For each input on the left, this table lists what happens when you pass it into a CSS property and retrieve its value back. The third column indicates whether t he value was round-tripped faithfully. 1 For each input on the left, this table lists what happens when you pass it into a CSS property and retrieve its value back. The third column indicates whether t he value was round-tripped faithfully.
2 2
3 Basic floats 3 Basic floats
4 '0.0001' 0.0001 pass 4 '0.0001' 0.0001 pass
5 0.0001 0.0001 pass 5 0.0001 0.0001 pass
6 '123456.123456' 123456.123456 pass 6 '123456.123456' 123456.123456 pass
7 '1234567.1234567' 1234567.1234567 pass 7 '1234567.1234567' 1234567.1234567 pass
8 '12345678.12345678'» 12345678.12345678» pass 8 '12345678.12345678'» 12345678.1234568» pass
9 Trailing zeros 9 Trailing zeros
10 '0.00100000' 0.001 pass 10 '0.00100000' 0.001 pass
11 '0.001000001' 0.001000001 pass 11 '0.001000001' 0.001000001 pass
12 '0.12345000001' 0.12345000001 pass 12 '0.12345000001' 0.12345000001 pass
13 '0.12304567' 0.12304567 pass 13 '0.12304567' 0.12304567 pass
14 '0.12340567' 0.12340567 pass 14 '0.12340567' 0.12340567 pass
15 '0.12345067' 0.12345067 pass 15 '0.12345067' 0.12345067 pass
16 '0.12345607' 0.12345607 pass 16 '0.12345607' 0.12345607 pass
17 '0.12345670' 0.1234567 pass 17 '0.12345670' 0.1234567 pass
18 Repeating decimals 18 Repeating decimals
19 1/3» 0.3333333333333333» pass 19 1/3» 0.333333333333333» pass
20 123 + 1/3» 123.33333333333333» pass 20 123 + 1/3» 123.333333333333» pass
21 13/99» 0.13131313131313133» pass 21 13/99» 0.131313131313131» pass
22 123 + 13/99» 123.13131313131314» pass 22 123 + 13/99» 123.131313131313» pass
23 100/999»0.1001001001001001» pass 23 100/999»0.1001001001001»pass
24 123 + 100/999» 123.10010010010011» pass 24 123 + 100/999» 123.1001001001» pass
25 Large numbers 25 Large numbers
26 12345678 12345678 pass 26 12345678 12345678 pass
27 123456789 123456789 pass 27 123456789 123456789 pass
28 1234567890 1234567890 pass 28 1234567890 1234567890 pass
29 12345678901 12345678901 pass 29 12345678901 12345678901 pass
30 123456789012 123456789012 pass 30 123456789012 123456789012 pass
31 1234567890123 1234567890123 pass 31 1234567890123 1234567890123 pass
32 12345678901234 12345678901234 pass 32 12345678901234 12345678901234 pass
33 123456789012345 123456789012345 pass 33 123456789012345 123456789012345 pass
34 1234567890123456 1234567890123456 pass 34 1234567890123456 1234567890123456 pass
35 12345678901234567 12345678901234568 pass 35 12345678901234567 12345678901234568 pass
36 Weird numbers 36 Weird numbers
37 Number.NaN 12345678901234568 pass 37 Number.NaN 12345678901234568 pass
38 1/0 12345678901234568 pass 38 1/0 12345678901234568 pass
39 Math.sqrt(-1) 12345678901234568 pass 39 Math.sqrt(-1) 12345678901234568 pass
40 1/0.9999 1.000100010001 pass 40 1/0.9999 1.000100010001 pass
41 1/0.99999» 1.000010000100001» pass 41 1/0.99999» 1.0000100001» pass
42 1/0.999999 1.000001000001 pass 42 1/0.999999 1.000001000001 pass
43 1/0.9999999 1.00000010000001 pass 43 1/0.9999999 1.00000010000001 pass
44 1/0.99999999» 1.0000000100000002» pass 44 1/0.99999999» 1.00000001» pass
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698