Hi,

I have some code that does integer maths. In the unlikely but possible
event that numbers large enough to cause overflows get put into it, I
would like to raise an exception or something. I do not yet know how to
detect if numbers are large enough. So I would like to know if it is
possible to get Delphi to detect an overflow.

I can use 64 bit variables, but because I am calculating factorials it
is still easy to overflow them.

I would like to know if my results are accurate or not.

Thanks,
Samuel

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to