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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ba9a717d172afa4f X-Google-Attributes: gid103376,public From: Pascal Obry Subject: Re: School Assignment--Can this be simplified? Date: 2000/08/30 Message-ID: #1/1 X-Deja-AN: 664451267 References: <39AD5DBD.972C97CA@brandonsd.mb.ca> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 967663770 17192 164.138.106.122 (30 Aug 2000 19:29:30 GMT) Organization: Home Mime-Version: 1.0 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 NNTP-Posting-Date: 30 Aug 2000 19:29:30 GMT Newsgroups: comp.lang.ada Date: 2000-08-30T19:29:30+00:00 List-Id: N J Chackowsky writes: > Hello... I'm about to teach ADA95 for the first time, and I've come up > with an assignment which helps students encode formulas. I'm using a > formula to translate from temperature and dew point to relative > humidity. The trouble is, I need to use the Pow function, so I need with > ada.numerics.aux. Does this look about right, and could it be > simplified. > Nope. You should not use Ada.Numerics.Aux (which a GNAT unit) but Ada.Numerics.[Generic_]Elementary_Functions. You should BTW use a Reference Manual and use only things that are define there. Do not use compiler extention in an Ada course. BTW, you should write 'Ada' this way and not 'ADA'. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| --| "The best way to travel is by means of imagination"