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-10 13:01:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!ppp-2-15.cvx2.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Dimensionality Checking (Ada 20XX) Date: Mon, 10 Dec 2001 19:09:20 -0000 Message-ID: <9v37ru$cdmva$2@ID-25716.news.dfncis.de> References: <11bf7180.0112070815.2625851b@posting.google.com> <9v0crt$bo2bi$1@ID-25716.news.dfncis.de> <3C141540.96E5EB0D@worldnet.att.net> <9v1aj3$bqlh0$1@ID-25716.news.dfncis.de> NNTP-Posting-Host: ppp-2-15.cvx2.telinco.net (212.1.141.15) X-Trace: fu-berlin.de 1008018111 13032426 212.1.141.15 (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:17713 Date: 2001-12-10T19:09:20+00:00 List-Id: I should perhaps have put: type Dimensionality is array (Dimension) of root_real; and there would then be a need for functions such as: function Log (U: in Unit_Type) return Unit_Type; function Log (U: in Unit_Type; Base: in univ_real) return Unit_Type; function Exp (U: in Unit_Type) return Unit_Type; function "**" (Left: in Unit_Type; Right: in univ_real) return Unit_Type; Can't get everything right first go! :-) -- Best wishes, Nick 'First Time' Roberts