[fpc-pascal] Loss of precision when using math.Max()
Martok
listbox at martoks-place.de
Tue Jul 3 19:41:03 CEST 2018
>> If you compile with range checks on, you get a runtime error.
> why are so many folks NOT developing with all the checks (range, heap, stack,
> etc) turned ON and then turning them off for production builds???
Actually, while we're at it - it seems to me that for FPC, "all runtime checks
enabled" is the "defined" way to use the language, and disabling them is more of
an optimization that the programmer may choose?
In books about TP and Delphi, it is usually presented the other way around, the
checks being a debugging tool for edge cases and not essential.
If so, that'd explain some of the issues people have.
--
Regards,
Martok
More information about the fpc-pascal
mailing list