[AccessD] Weekend fun: Primes

Josh McFarlane darsant at gmail.com
Fri Dec 9 18:17:59 CST 2005


On 12/9/05, stuart at lexacorp.com.pg <stuart at lexacorp.com.pg> wrote:
> You can use "scaled integers":
>
> Currency
> - 8 bytes = -922,337,203,685,477.5808 to 922,337,203,685,477.5807
> or
> Decimal
> - 14 bytes =  +/-79,228,162,514,264,337,593,543,950,335 with no decimal point

But then you enter the land of floating point calculations. It was
more out of curiosity though, as C++ has long long.

--
Josh McFarlane

"Peace cannot be kept by force. It can only be achieved by understanding."
-Albert Einstein



More information about the AccessD mailing list