Re: integer value too large?
- From: Alexandre Ferrieux <alexandre.ferrieux@xxxxxxxxx>
- Date: 30 Apr 2007 14:05:55 -0700
On Apr 30, 10:33 am, "Donal K. Fellows"
<donal.k.fell...@xxxxxxxxxxxxxxxx> wrote:
Alexandre Ferrieux wrote:
Funnily, [after], defined as relative-milliseconds, is currently more
geared towards long, absolute timers...
Indeed, compare the recent effort to extend the upper limit from 50
days to 500M years, with the brittleness of simple, 1-second timers
described in TIP 302:
Only on systems which can't manage clocks sanely (Hello Microsoft!) If
reliability of timer event frequency is required, get yourself a proper
operating system,
Donal, I was not expecting this from you... "get a proper OS" is
seldom an option in real life; the OS is a given.
use NTP to keep your system clock accurate,
Tcl works on very different OSes, and scales down very well. Suddenly
depending on NTP sounds completely odd.
Do you have NTP on your smartphone ?
and make sure your system clock is not running in localtime (in particular, you
don't want to be applying DST rules to the system clock).
No, DST is out of the picture. gettimeofday() yields a timezone-
agnostic elapsed time since the epoch. DST lies only in the timezone-
sensitive mapping embodied e.g. by strftime(). (I know you know this;
now why wave that red herring ?)
But given that you're on this hobby horse, the first stage in getting *anywhere* is for
you to exhibit an implementation, preferably that passes the test suite.
I don't get it. Either you think the feature is not desirable for Tcl,
and you argue against the TIP; or you think it may be valuable and
encourage a reference implementation. Which way ?
-Alex
.
- References:
- integer value too large?
- From: tickle007
- Re: integer value too large?
- From: Mark Janssen
- Re: integer value too large?
- From: tickle007
- Re: integer value too large?
- From: Mark Janssen
- Re: integer value too large?
- From: Alexandre Ferrieux
- Re: integer value too large?
- From: Donal K. Fellows
- integer value too large?
- Prev by Date: Re: How can eval and glob do this?
- Previous by thread: Re: integer value too large?
- Next by thread: Re: integer value too large?
- Index(es):
Relevant Pages
|