comp.lang.ada
 help / color / mirror / Atom feed
From: nabbasi@pacbell.net
Subject: Re: should I be interested in ada?
Date: 1999/02/18
Date: 1999-02-18T00:00:00+00:00	[thread overview]
Message-ID: <7ahsjs$kte@drn.newsguy.com> (raw)
In-Reply-To: 36CC6AC0.25DBE56D@erols.com

In article <36CC6AC0.25DBE56D@erols.com>, Dan says...
>
>Hello,
>
>Nick Roberts wrote:
>> 
 
>> 
>> So, hopefully, my original point stands.
>

>The only point I would take issue with is the efficiency issue.

valid point, but is 'few' more instructions really that important
these days, when 1000 MHZ PC's and workstations are around the corner?

offcourse this is all hand waving on my part, without concrete
numbers and specific tests one would not know.

>
>Also, Fortran's intrinsic library has (usually hand) optimized
>matrix multiply, dot product, locate maximum element, locate
>minimum element, etc.
>

is there a reason why the same could not be done in Ada also?
I assume Fortran has a bigger library of such intrinsic functions,
(last time I programmed in F77 was 15 years ago), but I dont see 
why Ada could not have the same functions implemented.

There is this package for math functions:

ASSET_A_402 Generic Elementary Math Functions:

"These generic Ada packages provide a set of mathematical 
functions that conform to the SIGAda Numerics Working Group's
proposed standard, which is a proposed secondary ISO standard. 

The package as specified consists of 29 functions, which can 
be classified into three families: exponential, trigonometric, and
hyperbolic. 

The exponential family consists of 5 functions: Sqrt(x), Exp(x),
 X**Y, Log(X) and Log(x,Base). 

The trigonometric family consists of 16 functions: the four 
usual trig functions Sin(x), Cos(x), Tan(x), and Cot(x) and the four
inverses Arcsin(x), Arccos(x), Arctan(y,x), and Arccot(x,y) 
constitute 8 of the 16. These 8 functions are approximations to the
corresponding mathematical functions, with 2pi being the period. 
The proposed ISO standard also requires 8 other functions that allow
the user to specify a period (e.g., 360.0). The calling sequences for 
the other 8 are Sin(x,cycle), Cos(x, cycle), ..., and Arccot(y,x,cycle). 

Finally, the hyperbolic family consists of 8 functions: the commonly used
Sinh(x), Cosh(x), Tanh(x), and Coth(x) and the
corresponding inverses Arcsinh(x), Arccosh(x), Arctanh(x), and Arccoth(x). "

to download, see:

 http://direct.asset.com/wsrd/product.asp?pf_id=ASSET%5FA%5F402

Nasser




  reply	other threads:[~1999-02-18  0:00 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-14  0:00 should I be interested in ada? Phillip Helbig
1999-02-15  0:00 ` Gautier
1999-02-15  0:00 ` Marin David Condic
1999-02-23  0:00   ` David Starner
1999-02-16  0:00 ` Ken Thomas
1999-02-17  0:00   ` Nick Roberts
1999-02-18  0:00     ` robert_dewar
1999-02-18  0:00       ` Nick Roberts
1999-02-18  0:00         ` William Clodius
1999-02-18  0:00           ` robert_dewar
1999-02-19  0:00             ` William Clodius
1999-02-19  0:00               ` Nick Roberts
1999-02-20  0:00                 ` robert_dewar
1999-02-22  0:00                   ` Nick Roberts
1999-02-22  0:00                     ` William Clodius
1999-02-23  0:00                     ` robert_dewar
1999-02-23  0:00                       ` Nick Roberts
1999-02-22  0:00                 ` William Clodius
1999-02-23  0:00                   ` Nick Roberts
1999-02-23  0:00                     ` William Clodius
1999-02-25  0:00                       ` Nick Roberts
1999-02-25  0:00                         ` robert_dewar
1999-02-23  0:00               ` Robert I. Eachus
1999-02-24  0:00                 ` William Clodius
1999-02-24  0:00                 ` Nick Roberts
1999-02-26  0:00                   ` Robert A Duff
1999-02-27  0:00                     ` Semantic info pragmas (was: should I be interested in ada?) Nick Roberts
1999-03-01  0:00                       ` Samuel Tardieu
1999-03-01  0:00                         ` Robert A Duff
1999-02-24  0:00               ` should I be interested in ada? William Clodius
1999-02-25  0:00                 ` Nick Roberts
1999-02-25  0:00                   ` robert_dewar
1999-02-26  0:00                     ` Nick Roberts
1999-02-18  0:00           ` nabbasi
1999-02-18  0:00             ` robert_dewar
1999-02-18  0:00         ` Jerry Petrey
1999-02-18  0:00           ` Nick Roberts
1999-02-18  0:00             ` Joel Seidman
1999-02-18  0:00             ` Dan Nagle
1999-02-18  0:00               ` nabbasi [this message]
1999-02-19  0:00               ` Nick Roberts
1999-02-19  0:00                 ` robert_dewar
1999-02-19  0:00                   ` Nick Roberts
1999-02-19  0:00                     ` robert_dewar
1999-02-21  0:00                       ` William Clodius
1999-02-23  0:00                         ` Robert I. Eachus
1999-02-19  0:00                     ` William Clodius
1999-02-20  0:00                       ` Nick Roberts
1999-02-21  0:00                         ` robert_dewar
1999-02-21  0:00                           ` William Clodius
1999-02-22  0:00                           ` Nick Roberts
1999-02-19  0:00                 ` Dan Nagle
1999-02-19  0:00                   ` robert_dewar
1999-02-19  0:00                     ` Nick Roberts
1999-02-19  0:00                     ` Dan Nagle
1999-02-23  0:00                     ` Peter Hermann
1999-02-18  0:00           ` fraser
1999-02-19  0:00             ` Matthew Heaney
1999-02-20  0:00               ` fraser
1999-02-18  0:00         ` robert_dewar
1999-02-19  0:00           ` Nick Roberts
1999-02-19  0:00             ` robert_dewar
1999-02-19  0:00               ` Nick Roberts
1999-02-20  0:00                 ` robert_dewar
1999-02-20  0:00                   ` Steve Doiel
1999-02-20  0:00                 ` robert_dewar
1999-02-22  0:00                   ` dennison
1999-02-22  0:00                   ` Nick Roberts
1999-02-23  0:00                     ` Robert I. Eachus
1999-02-24  0:00                       ` White rabbit (was: should I be interested in ada?) dennison
1999-02-25  0:00                       ` Alice books " JP Thornley
1999-02-25  0:00                         ` Robert I. Eachus
1999-02-19  0:00               ` should I be interested in ada? William Clodius
1999-02-19  0:00               ` dennison
1999-02-19  0:00                 ` William Clodius
1999-02-19  0:00                 ` robert_dewar
1999-02-19  0:00                 ` Nick Roberts
1999-02-20  0:00                   ` robert_dewar
1999-02-22  0:00                     ` Nick Roberts
1999-02-19  0:00               ` Phillip Helbig
1999-02-18  0:00     ` robert_dewar
1999-02-18  0:00       ` Nick Roberts
1999-02-18  0:00         ` William Clodius
1999-02-18  0:00           ` dennison
1999-02-20  0:00 ` Hartmut H. Schaefer
1999-02-20  0:00   ` bill
1999-02-21  0:00     ` dewar
1999-02-21  0:00   ` dewar
1999-02-22  0:00     ` dennison
replies disabled

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