C machine

Doug Gwyn gwyn at brl-smoke.ARPA
Mon Feb 8 21:26:42 AEST 1988


In article <1131 at jenny.cl.cam.ac.uk> am at cl.cam.ac.uk (Alan Mycroft) writes:
-I concede that someone may think of a very good reason as to why
-time_t may be floating (the draft says arithmetic) and anyway
-it is asctime()'s job to decode it.  However I think
-that clock_t could be sensible restricted to be integral
-since its job is to *count* CLK_TCK's anyway.

I seem to recall that somebody pointed out that an integer would
overflow in an unduly small amount of real time on a system with
a high-resolution system clock.



More information about the Comp.lang.c mailing list