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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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 21:02:14 PST Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!209.68.192.203!ragnarok.cts.com!thoth.cts.com!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: Duration vs. Ada.Real_Time Date: 26 Jan 2001 21:01:29 -0800 Organization: CTSnet Internet Services Sender: kst@king.cts.com Message-ID: References: <980495512.529981@edh3> <3A71814B.7E8CCF60@acm.org> <94s5bl$r1r$1@nnrp1.deja.com> <3A71E4F6.6D7015AD@acm.org> <94sqch$fls$1@nnrp1.deja.com> NNTP-Posting-Host: king.cts.com X-Trace: thoth.cts.com 980571689 56000 209.68.192.180 (27 Jan 2001 05:01:29 GMT) X-Complaints-To: abuse@cts.com NNTP-Posting-Date: Sat, 27 Jan 2001 05:01:29 +0000 (UTC) X-Newsreader: Gnus v5.5/Emacs 20.3 Xref: supernews.google.com comp.lang.ada:4593 Date: 2001-01-26T21:01:29-08:00 List-Id: Ted Dennison writes: [...] > 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. An implementation could easily declare type Duration in such a way that 1.0/60.0 is exactly representable. On the other hand, you probably don't want Duration to have that kind of dependency on a particular system. -- Keith Thompson (The_Other_Keith) kst@cts.com San Diego Supercomputer Center <*> MAKE MONEY FAST!! DON'T FEED IT!!