Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site ISM780B.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!ISM780B!tim From: tim@ISM780B.UUCP Newsgroups: net.lang.c Subject: Re: ANSI 'C'. Message-ID: <25500123@ISM780B.UUCP> Date: Mon, 25-Nov-85 17:55:00 EST Article-I.D.: ISM780B.25500123 Posted: Mon Nov 25 17:55:00 1985 Date-Received: Thu, 28-Nov-85 04:31:44 EST References: <447@graffiti.UUCP> Lines: 15 Nf-ID: #R:graffiti:-44700:ISM780B:25500123:000:602 Nf-From: ISM780B!tim Nov 25 17:55:00 1985 > times. They define type "time_t" as an arithmetic type that > represents the time, and then define a difftime(time_t > time1,time_t time2) that computes the difference between these > two arithmetic values. Why the function? Does the standard have > a new arithmetic type on which the operation of subtraction is > not allowed? The difftime function first transforms both times to the frame of an observer at Greenwich (sp?). It needs to be a function, because the standard C subtraction operator knows nothing about general relativity. Tim Smith ihnp4!cithep!tim ima!ism780!tim