Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2013-10

0025241: [Discussion] Reimplementing of floating-point <-> ASCII conversions

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Max Nazhalov

To Jonas Maebe (regarding tstrreal2.pp):

7 {$else FPC_HAS_TYPE_EXTENDED}
8 '0.10000000000000001',
9 {$endif FPC_HAS_TYPE_EXTENDED}

This one might be from the GRISU1_F2A_AGRESSIVE_ROUNDUP define. It fixes some tests on some platforms, but potentially could brake the same tests on another ones.. This workaround was added in the very last stage of development, and should not break correctness if undefined (indeed, it should recover it, and break some tests too ).

WBR, Max.

Reply by email

Jonas Maebe
to Max Nazhalov
Max Nazhalov wrote 11 lines
To Jonas Maebe (regarding tstrreal2.pp): 7 {$else FPC_HAS_TYPE_EXTENDED} 8 '0.10000000000000001', 9 {$endif FPC_HAS_TYPE_EXTENDED} This one might be from the GRISU1_F2A_AGRESSIVE_ROUNDUP define. It fixes some tests on some platforms, but potentially could brake the same tests on another ones.. This workaround was added in the very last stage of development, and should not break correctness if undefined (indeed, it should recover it, and break some tests too ).

Overall, the results are still much better than they they used to be, so I don't consider to be a very big problem. If you find a solution, it's welcome of course!

Jonas

Reply by email