[DUG] integer or int64
Jolyon Smith
jsmith at deltics.co.nz
Tue Sep 21 11:40:47 NZST 2010
I am curious to know what it is you are measuring/counting/whatever that is
almost exhausting a 64-bit int.
(FYI: a GUID is 128-bit, tho you cannot perform arithmetic on/using GUIDs of
course)
-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of John Bird
Sent: Tuesday, 21 September 2010 11:08
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] integer or int64
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
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
More information about the Delphi
mailing list