[fpc-pascal] Floating point question

Thomas Kurz fpc.2021 at t-net.ruhr
Tue Feb 13 08:14:34 CET 2024


>> You cannot do this in Pascal. The evaluation of the expression on the 
>> right of := does not
>> know (and should not know) what the type is of the expression on the left.

> It's even theoretically impossible to do in case the result is passed to 
> a function or intrinsic that is overloaded with single/double/extended 
> parameters.

In other cases, I got a "can't determine which overloaded function to call" error, so I think this should be handable; but I understand the first argument of course.



More information about the fpc-pascal mailing list