Why does the Real type behave differently in Delphi 3 compared to later versions?
After Delphi 3, Real's became equivalent to the Double. It's size changed from 6 bytes to 8 bytes, it's significant digits and range changed as well. In order to get Real's to behave in later versions of Delphi in the same way as they behaved in Delphi 3, you will need to set the {$REALCOMPATIBILITY ON} compiler directive or declare your Reals as Real48.
Last Modified: 20-JAN-04