[DUG] integer or int64
John Bird
johnkbird at paradise.net.nz
Tue Sep 21 11:08:04 NZST 2010
Quite a few built in Delphi functions accept either integer or int64 as an
argument, I checked into inttostr for instance, in that case its asm code.
I have quite a few standard number processing routines, and up to now have
done one version for integer, and another for int64.
Is it feasible to have an argument/parameter to a function that can be
either (like Delphi does)?
is it possible to test whether such an argument is either integer or int64?
Related - Does anyone know if an int128 is on the cards down the track? (I
have some functions that use numbers nearly up to int64 limit - 17 of the 18
digits decimal length)
John
More information about the Delphi
mailing list