From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: School Assignment--Can this be simplified?
Date: 31 Aug 2000 21:33:01 +0200
Date: 2000-08-31T19:38:27+00:00 [thread overview]
Message-ID: <uitsh8bv6.fsf@wanadoo.fr> (raw)
In-Reply-To: 39AEB8A4.82E8F3D0@brandonsd.mb.ca
N J Chackowsky <chackowsky@brandonsd.mb.ca> writes:
> And here's the revised version. Interesting that there is no pow()
> function defined in elementary_functions at all.
Sure there is ! What about the "**" operator :)
> Where should I look for
> standard numerical constants such as e, pi, etc.?
>
In Ada.Numerics.
<<
3. package Ada.Numerics is
pragma Pure(Numerics);
Argument_Error : exception;
Pi : constant :=
3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511;
e : constant :=
2.71828_18284_59045_23536_02874_71352_66249_77572_47093_69996;
end Ada.Numerics;
>>
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"
next prev parent reply other threads:[~2000-08-31 19:33 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 ` tmoran
2000-08-30 0:00 ` Keith Thompson
2000-08-30 0:00 ` Pascal Obry
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 [this message]
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