@Allan As a quick fix while I investigate further, if you add the following line near the top of your code it will disable the latest optimization while I investigate further
Code
{$OPTI NO_OPT_TST}
allan
Benutzer
Geschlecht: keine Angabe Alter: 66 Beiträge: 11 Dabei seit: 10 / 2016
@Merlin, thanks!
It solves the actual problem I had with real project where comparing floating point numbers gave random results. This FloatToStr was only needed for debugging and also was easy to reproduce!
Merlin
PowerUser
Geschlecht: Alter: 26 Beiträge: 1502 Dabei seit: 03 / 2005