[LEAPSECS] Lets get REAL about time.

Rob Seaman seaman at noao.edu
Sat Jan 21 11:23:57 EST 2012


Poul-Henning Kamp wrote:


> Michael Deckers writes:

>

>> Comparing IEEE floating point values holds its surprises

>> because values may be incomparable,

>

> In which case they are not valid timestamps, and you get

> EINVAL if in a library or whatever you asked for in your

> own code.


Testing for equality of timestamps? For floating point this requires some sort of epsilon test. (Perhaps I missed this in the discussion.)

Rob



More information about the LEAPSECS mailing list