clock overflow/wraparound
Closed / Fixed1803823fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-09-27 20:06:36
Since Tcl 8.5 has unlimited range integers, I'm mildly surprised by: % clock format 0x10000000000000000 expected integer but got "0x10000000000000000" % clock format 0xffffffffffffffff Wed Dec 31 18:59:59 EST 1969 clock.n is long, and I can't claim to have read every word, but a quick scan didn't appear to document a limited range on valid time values.
dgpplain2007-11-28 01:03:54
Logged In: YES user_id=80530 Originator: YES status?
kennykbplain2008-02-27 09:13:30
Logged In: YES user_id=99768 Originator: NO [clock] is limited by design to 64-bit integers (there's a good bit of C code in there, predating the inclusion of libtommath). Checks have now been added to make sure that the arguments fit. (2**64 seconds should be enough for anybody; I doubt that the calendar will last that long, anyway.)
kennykb Closed ticket [1803823fff].
[History diff]2008-02-27 09:13:55
Log in (anonymous is fine) to add a comment.