I tested this in Delphi 6.7 and XE2, all this shows this error.
I would like to compare two floating point numbers in a stream, for example:
threadvar a,b : Double; procedure test; begin if a > b then ; end;
but an internal error occurred while compiling DCC. Therefore, I changed it as follows:
threadvar a,b : Double; procedure test; begin if a - b > 0 then ; end;
the error has disappeared, why?
source share