[fpc-devel] certain divisions in single precision only

Jonas Maebe jonas at freepascal.org
Sun Dec 8 11:00:04 CET 2019


On 06/12/2019 14:43, Tomas L. via fpc-devel wrote:
> When a floating point constant which fits into single precision is
> divided by integer variable, the result is assumed to be a
> single-precision number. 

Indeed, this is by design. See
https://wiki.freepascal.org/User_Changes_2.2.0#Floating_point_constants
for how to explicitly specify a different precision.


Jonas


More information about the fpc-devel mailing list