On Aug 31, 2006, at 9:08 AM, Phil M wrote:
On Aug 31, 2006, at 7:18 AM, Charles Yeomans wrote:
The largest integer value that a double without approximation can
hold is something like 10^15, so I guess you'd expect overflow
every 10^9 seconds or so - about every 31 years. Probably you
should test to be sure.
Wow. Then I guess I don't have to worry about rollover with
Microseconds. =)
There might be something else to consider. REALbasic may use a double
to represent it but I have a strong feeling that the OS's storage of
this data may be different. Take the Date Class for example. On Mac,
the Total seconds are stored as an Uint32. This limits the Date to
2034 as far as I know. Also, on Win32, Microseconds is only resolved
to milliseconds.
Perhaps this "Rollover" effect is something to consider as RS
probably wouldn't mention it if it wasn't attainable.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>