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,ba9a717d172afa4f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-08-31 05:38:42 PST Message-ID: <39AE46CA.AD93177E@baesystems.com> Date: Thu, 31 Aug 2000 12:51:38 +0100 From: Martin Dowie X-Mailer: Mozilla 4.05 [en]C-CCK-MCD GECMSTANv4.5.1 (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: School Assignment--Can this be simplified? References: <39AD5DBD.972C97CA@brandonsd.mb.ca> <39AE0E2A.C11F53F4@baesystems.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: stnp2927.stanmre.gecm.com X-Trace: 31 Aug 2000 12:48:08 GMT, stnp2927.stanmre.gecm.com Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!codeine.org!grolier!btnet-peer0!btnet!newreader.ukcore.bt.net!pull.gecm.com!stnp2927.stanmre.gecm.com Xref: supernews.google.com comp.lang.ada:432 Date: 2000-08-31T12:51:38+01:00 List-Id: Simon Wright wrote: > [snip] > which is pretty icky. Perhaps derived or even private types would be > interesting. Perhaps just conversion functions, inline if you like? > > function To_Kelvins (Temperature_In_Celsius : Float) return Float; I was hinting at this in point 3 :-) I have been looking at the units/conversions packages provided by 'whitaker' (can't remember where I downloaded them from). They look promising and if they prove efficient could be a _very_ handy "standard" library.