ASE2 CARD CATALOG ENTRY

Instructions:


ASSET OVERVIEW

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
PAL
ENVIRONMENT
LIMITATIONS
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

CLASSIFICATION

KEYWORD
Numerics Working Group
NUMWG
SIGAda NUMWG
exponential functions
trigonometric functions
hyperbolic functions
functions, exponential
functions, trigonometric
functions, hyperbolic
INDEX
Tak, Ping
Tang, Peter
Argonne National Lab
ANL
DEPENDENCIES
None
SEE ALSO
SHORT DESCRIPTION
A set of math functions that conform to the 1990 NUMWG proposed standard
TAXONOMY


Software Components
    Numerics Working Group
      Numerics Working Group (2)


FILE LISTING

FILE SPECS
You are on CDROM ID ase02_02
Click here to enter Asset Directory/transfer Asset File(s):
../../ase02_02/comps/nwg/nwg2
DIRECTORY DISPLAY
Follow path to see directory

ABSTRACT

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.


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.

ASE CARD CATALOG ENTRY NAVIGATION

Powered by the Generic Web-Based Reuse Library (GWRL)