Yo Sanjeev! On Sat, 17 Aug 2019 06:07:14 +0800 Sanjeev Gupta <[email protected]> wrote:
> Gary,
>
> The widest integer I have is "long long int", which is 8 bytes. I
> need a bit more for "nuber of secs in 8192 weeks".
Here is my math:
seconds in 8192 weeks = 8192 weeks * 7 days in week * 24 hours in a day *
60 minutes in an hour * 60 seconds in a minute
>>> a = 8192 * 7 * 24 * 60 * 60
>>> "%x" % a
'127500000'
Looks like 5 bytes to me. Is my math wrong?
> Size of long long int: 8 bytes
Looks good to me.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
[email protected] Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpyLxdq1uEkI.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
