From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c3f76cf9b2829c4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-26 13:40:07 PST Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.germany.net!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Ted Dennison Newsgroups: comp.lang.ada Subject: Re: Duration vs. Ada.Real_Time Date: Fri, 26 Jan 2001 21:32:01 GMT Organization: Deja.com Message-ID: <94sqch$fls$1@nnrp1.deja.com> References: <980495512.529981@edh3> <3A71814B.7E8CCF60@acm.org> <94s5bl$r1r$1@nnrp1.deja.com> <3A71E4F6.6D7015AD@acm.org> NNTP-Posting-Host: 204.48.27.130 X-Article-Creation-Date: Fri Jan 26 21:32:01 2001 GMT X-Http-User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; 0.7) Gecko/20010109 X-Http-Proxy: 1.0 x62.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 X-MyDeja-Info: XMYDJUIDtedennison Xref: supernews.google.com comp.lang.ada:4579 Date: 2001-01-26T21:32:01+00:00 List-Id: In article <3A71E4F6.6D7015AD@acm.org>, Marin David Condic wrote: > I would think that a reasonable implementation of Ada for realtime > systems would want to insure that the precision had some relationship > to the accuracy of the clock available. Obviously, for Do you mean "accuracy" or "frequency"? ... > be changed for the language. But stating, for example, that the > precision of a time representation can go down to atto-seconds can > easily mislead one to believe that the measurement of time is going to > be something close to that precision. This gets back around to the issue we were discussing a couple of weeks ago. If the language requires units of seconds, but the system's clock used some incompatable system like Hz (eg: 60 Hz, which can't be represented exactly in terms of fixed-point seconds), then you (or at least *I*) would actually prefer a much higher precision, so that your error in representation isn't so great when you start to do math with it. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/