[fpc-devel]Determining overloads between Single and Double

Peter Vreman peter at freepascal.org
Sun Feb 15 13:19:25 CET 2004


>> Delphi mode I can't use p(1.0) and I can't use p(Single(1.0)) too.
>
> Add a new overload for extended and it compiles also in delphi mode.
>
> Bug report 2129 is the source that single(1.0) typecasts does not work as
> expected. A solution can be to do conversion for float constants.

Conversion is now done for float constants. Hope that solves the problem






More information about the fpc-devel mailing list