ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.375 by root, Mon Jun 13 09:52:36 2011 UTC vs.
Revision 1.376 by root, Tue Jun 14 07:23:46 2011 UTC

5048 5048
5049The type C<double> is used to represent timestamps. It is required to 5049The type C<double> is used to represent timestamps. It is required to
5050have at least 51 bits of mantissa (and 9 bits of exponent), which is 5050have at least 51 bits of mantissa (and 9 bits of exponent), which is
5051good enough for at least into the year 4000 with millisecond accuracy 5051good enough for at least into the year 4000 with millisecond accuracy
5052(the design goal for libev). This requirement is overfulfilled by 5052(the design goal for libev). This requirement is overfulfilled by
5053implementations using IEEE 754, which is basically all existing ones. With 5053implementations using IEEE 754, which is basically all existing ones.
5054
5054IEEE 754 doubles, you get microsecond accuracy until at least 2200. 5055With IEEE 754 doubles, you get microsecond accuracy until at least the
5056year 2255 (and millisecond accuray till the year 287396 - by then, libev
5057is either obsolete or somebody patched it to use C<long double> or
5058something like that, just kidding).
5055 5059
5056=back 5060=back
5057 5061
5058If you know of other additional requirements drop me a note. 5062If you know of other additional requirements drop me a note.
5059 5063

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines