comp.lang.ada
 help / color / mirror / Atom feed
* Pre-defined math functions?
@ 1999-12-03  0:00 HDhil
  1999-12-03  0:00 ` David C. Hoos, Sr.
  1999-12-03  0:00 ` Pascal Obry
  0 siblings, 2 replies; 4+ messages in thread
From: HDhil @ 1999-12-03  0:00 UTC (permalink / raw)


Hi. I am learning Ada and was wondering how mathematical
functions are made available when righting math-intensive 
code. I know of the Numerics Annex, but is there
a standard package or third-party  for trigonometric and other 
types of functions?

If you know, please e-mail me. Thanks.

-Harry




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pre-defined math functions?
  1999-12-03  0:00 ` Pascal Obry
@ 1999-12-03  0:00   ` HDhil
  0 siblings, 0 replies; 4+ messages in thread
From: HDhil @ 1999-12-03  0:00 UTC (permalink / raw)


Sorry. I got a copy of the Ada 95 RM but
couldn't find the right package there. But
now i have. Thanks.

-Harry

"Alas, C++, i knew ye well..."




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pre-defined math functions?
  1999-12-03  0:00 Pre-defined math functions? HDhil
  1999-12-03  0:00 ` David C. Hoos, Sr.
@ 1999-12-03  0:00 ` Pascal Obry
  1999-12-03  0:00   ` HDhil
  1 sibling, 1 reply; 4+ messages in thread
From: Pascal Obry @ 1999-12-03  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]


HDhil <hdhil@aol.com> a �crit dans le message :
19991203022059.02037.00000346@ng-bg1.aol.com...
> Hi. I am learning Ada and was wondering how mathematical
> functions are made available when righting math-intensive
> code. I know of the Numerics Annex, but is there
> a standard package or third-party  for trigonometric and other
> types of functions?

Please for such basic question have at least a look at the Reference Manual
!

Look for Ada.Numerics.Elementary_Functions and
Ada.Numerics.Generic_Elementary_Functions.

Pascal.

--

--|------------------------------------------------------------
--| Pascal Obry                               Team-Ada Member |
--|                                                           |
--| EDF-DER-IPN-SID- T T I                                    |
--|                       Intranet: http://cln46gb            |
--| Bureau N-023            e-mail: pascal.obry@edf.fr        |
--| 1 Av G�n�ral de Gaulle  voice : +33-1-47.65.50.91         |
--| 92141 Clamart CEDEX     fax   : +33-1-47.65.50.07         |
--| FRANCE                                                    |
--|------------------------------------------------------------
--|
--|   http://ourworld.compuserve.com/homepages/pascal_obry
--|
--|   "The best way to travel is by means of imagination"







^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Pre-defined math functions?
  1999-12-03  0:00 Pre-defined math functions? HDhil
@ 1999-12-03  0:00 ` David C. Hoos, Sr.
  1999-12-03  0:00 ` Pascal Obry
  1 sibling, 0 replies; 4+ messages in thread
From: David C. Hoos, Sr. @ 1999-12-03  0:00 UTC (permalink / raw)



HDhil <hdhil@aol.com> wrote in message
news:19991203022059.02037.00000346@ng-bg1.aol.com...
> Hi. I am learning Ada and was wondering how mathematical
> functions are made available when righting math-intensive
> code. I know of the Numerics Annex, but is there
> a standard package or third-party  for trigonometric and other
> types of functions?
>
Yes, there is a standard package for trigonometric and other
types of functions.  It's called the Numerics Annex.
See RM95 A.5.1







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-03  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-03  0:00 Pre-defined math functions? HDhil
1999-12-03  0:00 ` David C. Hoos, Sr.
1999-12-03  0:00 ` Pascal Obry
1999-12-03  0:00   ` HDhil

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