Achim Gratz <strom...@nexgo.de>: > Gary E. Miller writes: > > Or, just go with the flow and use the epoch in a timepec like > > structure: > > > > ntp_time_t { > > int epoch; > > uint32 seconds; > > uint32 faction; > > } > > > > That would stop all that shifting back and forth. > > Oh please, no. Consider using a 128bit integer type when the time comes > around, but not such an abomination. Specifically not that useless > mucking about with integral and fractional seconds. You report the > time in integral units of 2^-32 seconds, period.
Achim is right. This is exactly the both I had to *remove*. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> Please consider contributing to my Patreon page at https://www.patreon.com/esr so I can keep the invisible wheels of the Internet turning. Give generously - the civilization you save might be your own. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel