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,cc4f25d878383cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-13 14:22:02 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!ppp-1-26.cvx4.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Dimensionality Checking (Ada 20XX) Date: Thu, 13 Dec 2001 22:22:38 -0000 Message-ID: <9vb9m4$edl36$1@ID-25716.news.dfncis.de> References: <11bf7180.0112070815.2625851b@posting.google.com> <9v0crt$bo2bi$1@ID-25716.news.dfncis.de> <9v37rs$cdmva$1@ID-25716.news.dfncis.de> <9v5loh$d5aki$1@ID-25716.news.dfncis.de> <9v6iv7$dcrbf$2@ID-25716.news.dfncis.de> <9vb860$e8rbj$1@ID-25716.news.dfncis.de> NNTP-Posting-Host: ppp-1-26.cvx4.telinco.net (212.1.148.26) X-Trace: fu-berlin.de 1008282116 15127654 212.1.148.26 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:17892 Date: 2001-12-13T22:22:38+00:00 List-Id: > Hah! That's a comment that O will touch upon further down. I meant: That's a comment that I will touch upon further down. And I never really did. My point simply is that you can indeed dynamically convert between feet, meters, inches, angstroms, parsecs, etc. within a single floating point type (usually) with impunity. You can't generally do this within one fixed point type; you can convert from one fixed point type to another, if their deltas and ranges are appropriately set, but these must be static. -- Nick