PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

A set of math functions that conform to the 1990 NUMWG proposed standard


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
NWG2
VERSION
01-NOV-90
REVIEW CODE
C1 1.0 A
INET ADDRESS
librarian@source.asset.com
AUTHOR
Ping Tak and Peter Tang
Argonne National Laboratories
RIGHTS
Approved for public release; distribution unlimited
COPYRIGHT
1990 Argonne National Laboratories
DATE CREATED
1 Nov 90
DATE RELEASED
24 Nov 93
DATE LAST UPDATED
24 Nov 93
LOCATION
ASSET
PAL
ENVIRONMENT
Not documented in PAL database
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Monday    30 May       1994 01:37:30Pm
Overall Assessment of System: OK
Classification of System: A
Basis of Classification --
Syntax Errors                               PASS
Completeness                                PASS
Independence from External Libraries        PASS
Independence from a Specific Ada Compiler   PASS

Number of ...
Files              87
Library Units      87
Lines            9815
Statements       4080
Comments          976

Subunits and Parent Units --
4 parent program units
0 missing parent units
68 subunits
0 subunits found but not specified
0 subunits specified but not found

FILE LISTING

Directory Display


languages/ada/swcomps/nwg/nwg2:
  File Name                 Size
  ---------                 ----
  nwg2.txt                 1,518
  nwg2.zip               118,510


Totals
  ==============  ==============
    2 Files              120,028

ABSTRACT

ASSET_A_402:  Generic Elementary Math Functions
     This set of 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 that 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).
     The code has comments defining usage and implementation details,
plus an  informative README file.  Also included are test packages and
drivers to test  each of the functions.
     A Users Manual (ASSET_A_405) for this set of packages is available
from ASSET in paper copy.


REVISION HISTORY

1 Nov 90  Argonne  Initial release to ASSET
24 Nov 93  ASSET   Initial release to the PAL


RELEASE NOTICE

This prologue must be included in all copies of this software.
Restrictions on use or distribution:  NONE


DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.