Re: [fpc-devel] CompareValue

Пётр Косаревский ppkk at mail.ru
Fri Mar 2 15:40:01 CET 2007


> In the math unit are the CompareValue functions only for signed integers. Why not 
> for DWORD and QWORD?

I guess, that it's Delphi mimicing implementation (because it is Delphi-like).

And it can be tricky to distinguish signed and unsigned expression values.

Like, 

a: qword;
a-1 --- ??? (anyone may know for sure that a-1>0 and want to subtract one)

I guess it's something like that.



More information about the fpc-devel mailing list