comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: School Assignment--Can this be simplified?
Date: 2000/08/30
Date: 2000-08-30T19:29:30+00:00	[thread overview]
Message-ID: <uitsi4koa.fsf@wanadoo.fr> (raw)
In-Reply-To: 39AD5DBD.972C97CA@brandonsd.mb.ca


N J Chackowsky <chackowsky@brandonsd.mb.ca> 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"




  reply	other threads:[~2000-08-30  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-30  0:00 School Assignment--Can this be simplified? N J Chackowsky
2000-08-30  0:00 ` Pascal Obry [this message]
2000-08-30  0:00 ` Keith Thompson
2000-08-30  0:00 ` tmoran
2000-08-31  0:00 ` Martin Dowie
2000-08-31 11:31   ` Simon Wright
2000-08-31 11:51     ` Martin Dowie
2000-08-31 18:35   ` N J Chackowsky
2000-08-31 19:19     ` N J Chackowsky
2000-08-31 19:33       ` Pascal Obry
2000-08-31 23:03         ` Nick J Chackowsky
2000-09-01  1:02         ` tmoran
2000-09-01  4:14           ` Robert Dewar
2000-09-01 17:51             ` tmoran
2000-09-02  3:12               ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox