mirror of
https://github.com/frida/tinycc
synced 2024-12-28 15:49:40 +03:00
5a76c5d2f3
* tccpp.c (parse_number): `shift' should be 1 while parsing binary floating point number. * tests/tests2/70_floating_point_literals.c: New test cases for floating point number parsing.
54 lines
557 B
Plaintext
54 lines
557 B
Plaintext
0.123000
|
|
122999996416.000000
|
|
0.000000
|
|
122999996416.000000
|
|
|
|
123.123001
|
|
123122997002240.000000
|
|
0.000000
|
|
123122997002240.000000
|
|
|
|
123.000000
|
|
123000003231744.000000
|
|
0.000000
|
|
123000003231744.000000
|
|
|
|
123000003231744.000000
|
|
0.000000
|
|
123000003231744.000000
|
|
|
|
|
|
428.000000
|
|
0.000026
|
|
428.000000
|
|
|
|
1756112.000000
|
|
0.104672
|
|
1756592.000000
|
|
|
|
1753088.000000
|
|
0.104492
|
|
1753088.000000
|
|
|
|
1753088.000000
|
|
0.104492
|
|
1753088.000000
|
|
|
|
|
|
3424.000000
|
|
0.000204
|
|
3424.000000
|
|
|
|
1756112.000000
|
|
0.104672
|
|
1756112.000000
|
|
|
|
1753088.000000
|
|
0.104492
|
|
1753088.000000
|
|
|
|
1753088.000000
|
|
0.104492
|
|
1753088.000000
|
|
|