Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:
indexing description: "[ Basic mathematical operations, double-precision. This class may be used as ancestor by classes needing its facilities. ]" status: "See notice at end of class" date: "$Date: 2001-11-16 20:32:23 +0000 (Fri, 16 Nov 2001) $" revision: "$Revision: 51435 $" class DOUBLE_MATH inherit MATH_CONST export {NONE} all end feature -- Access log_2 (v: DOUBLE): DOUBLE is -- Base 2 logarithm of v local a: DOUBLE do a := 2.0 Result := log (v) / log (a) end cosine (v: DOUBLE): DOUBLE is -- Trigonometric cosine of radian v approximated -- in the range [-pi/4, +pi/4] external "C | <math.h>" alias "cos" end arc_cosine (v: DOUBLE): DOUBLE is -- Trigonometric arccosine of radian v -- in the range [0, pi] external "C | <math.h>" alias "acos" end sine (v: DOUBLE): DOUBLE is -- Trigonometric sine of radian v approximated -- in range [-pi/4, +pi/4] external "C | <math.h>" alias "sin" end arc_sine (v: DOUBLE): DOUBLE is -- Trigonometric arcsine of radian v -- in the range [-pi/2, +pi/2] external "C | <math.h>" alias "asin" end tangent (v: DOUBLE): DOUBLE is -- Trigonometric tangent of radian v approximated -- in range [-pi/4, +pi/4] external "C | <math.h>" alias "tan" end arc_tangent (v: DOUBLE): DOUBLE is -- Trigonometric arctangent of radian v -- in the range [-pi/2, +pi/2] external "C | <math.h>" alias "atan" end sqrt (v: DOUBLE): DOUBLE is -- Square root of v external "C | <math.h>" end exp (x: DOUBLE): DOUBLE is -- Exponential of v. external "C | <math.h>" end log (v: DOUBLE): DOUBLE is -- Natural logarithm of v external "C | <math.h>" end log10 (v: DOUBLE): DOUBLE is -- Base 10 logarithm of v external "C | <math.h>" end floor (v: DOUBLE): DOUBLE is -- Greatest integral less than or equal to v external "C | <math.h>" end ceiling (v: DOUBLE): DOUBLE is -- Least integral greater than or equal to v external "C | <math.h>" alias "ceil" end dabs (v: DOUBLE): DOUBLE is -- Absolute of v external "C | <math.h>" alias "fabs" end indexing library: "[ EiffelBase: Library of reusable components for Eiffel. ]" status: "[ Copyright 1986-2001 Interactive Software Engineering (ISE). For ISE customers the original versions are an ISE product covered by the ISE Eiffel license and support agreements. ]" license: "[ EiffelBase may now be used by anyone as FREE SOFTWARE to develop any product, public-domain or commercial, without payment to ISE, under the terms of the ISE Free Eiffel Library License (IFELL) at http://eiffel.com/products/base/license.html. ]" source: "[ Interactive Software Engineering Inc. ISE Building 360 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Electronic mail <info@eiffel.com> Customer support http://support.eiffel.com ]" info: "[ For latest info see award-winning pages: http://eiffel.com ]" end -- class DOUBLE_MATH
Classes Clusters Cluster hierarchy Chart Relations Text Flat Contracts Flat contracts Go to:

-- Generated by ISE Eiffel --
For more details: www.eiffel.com