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$"
	revision: "$Revision$"

class interface
	DOUBLE_MATH

feature -- Access

	arc_cosine (v: DOUBLE): DOUBLE
			-- Trigonometric arccosine of radian v
			-- in the range [0, pi]

	arc_sine (v: DOUBLE): DOUBLE
			-- Trigonometric arcsine of radian v
			-- in the range [-pi/2, +pi/2]

	arc_tangent (v: DOUBLE): DOUBLE
			-- Trigonometric arctangent of radian v
			-- in the range [-pi/2, +pi/2]

	ceiling (v: DOUBLE): DOUBLE
			-- Least integral greater than or equal to v

	cosine (v: DOUBLE): DOUBLE
			-- Trigonometric cosine of radian v approximated
			-- in the range [-pi/4, +pi/4]

	dabs (v: DOUBLE): DOUBLE
			-- Absolute of v

	exp (x: DOUBLE): DOUBLE
			-- Exponential of v.

	floor (v: DOUBLE): DOUBLE
			-- Greatest integral less than or equal to v

	log (v: DOUBLE): DOUBLE
			-- Natural logarithm of v

	log10 (v: DOUBLE): DOUBLE
			-- Base 10 logarithm of v

	log_2 (v: DOUBLE): DOUBLE
			-- Base 2 logarithm of v

	sine (v: DOUBLE): DOUBLE
			-- Trigonometric sine of radian v approximated
			-- in range [-pi/4, +pi/4]

	sqrt (v: DOUBLE): DOUBLE
			-- Square root of v

	tangent (v: DOUBLE): DOUBLE
			-- Trigonometric tangent of radian v approximated
			-- in range [-pi/4, +pi/4]

invariant

		-- from ANY
	reflexive_equality: standard_is_equal (Current)
	reflexive_conformance: conforms_to (Current)

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