-- ----------------------------------------------------------------------- -- Title: double_elementary_functions -- Last Mod: Thu Aug 30 08:46:13 1990 -- Author: Vincent Broman -- Copyright 1990 Vincent Broman -- Permission granted to copy, modify, or compile this software for -- one's own use, provided that this copyright notice is preserved intact. -- Permission granted to distribute compiled binary copies of this -- software which are linked in with some other application. -- Permission granted to distribute other copies of this software, -- provided that (1) any copy which is not source code, i.e. not in the -- form in which the software is usually maintained, must be accompanied -- by a copy of the source code from which it was compiled, and (2) the -- one distributing it must refrain from imposing on the recipient -- further restrictions on the distribution of this software. -- -- Visibility: withed by generic_elementary_functions body -- Description: -- -- a double-precision-only implementation of -- the proposed standard generic package of elementary functions, -- from the ISO-IEC/JTC1/SC22/WG9 (Ada) -- Numerics Rapporteur Group proposal, Draft 1.1. -- -- This will evolve to conform to later drafts. -- -- Exceptions: argument_error, numeric_error are raised. -- ----------------------------------------------------------------------- with elementary_functions_exceptions, float_types; use float_types; package double_elementary_functions is function sqrt ( x : double ) return double; function log ( x : double ) return double; function log ( x , base : double ) return double; function exp ( x : double ) return double; function "**" ( x , y : double ) return double; function sin ( x : double ) return double; function sin ( x , cycle : double ) return double; function cos ( x : double ) return double; function cos ( x , cycle : double ) return double; function tan ( x : double ) return double; function tan ( x , cycle : double ) return double; function cot ( x : double ) return double; function cot ( x , cycle : double ) return double; function arcsin ( x : double ) return double; function arcsin ( x , cycle : double ) return double; function arccos ( x : double ) return double; function arccos ( x , cycle : double ) return double; function arctan ( y : double; x : double := 1.0 ) return double; function arctan ( y : double; x : double := 1.0; cycle : double ) return double; function arccot ( x : double; y : double := 1.0 ) return double; function arccot ( x : double; y : double := 1.0; cycle : double ) return double; function sinh ( x : double ) return double; function cosh ( x : double ) return double; function tanh ( x : double ) return double; function coth ( x : double ) return double; function arcsinh ( x : double ) return double; function arccosh ( x : double ) return double; function arctanh ( x : double ) return double; function arccoth ( x : double ) return double; argument_error: exception renames elementary_functions_exceptions.argument_error; end double_elementary_functions; -- $Header: d_elementary_functions_s.a,v 3.21 90/08/30 08:52:57 broman Exp $