INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

description: "Basic mathematical operations, single-precision"
title: "EiffelBase: library of reusable components for Eiffel. ", "Based on EiffelBase library for ISE Eiffel, ", "used with permission. "
project: "EiffelBase Library"
copyright: "(c) 1986-1997 Interactive Software Engineering Inc. ", "Modifications and extensions: ", "(c) 1997 Object Tools ", "All rights reserved. Duplication and distribution prohibited", "May be used only with Visual Eiffel under terms of user ", "license "
cluster: eiffelbase
class SINGLE_MATH
inherit

MATH
export
{NONE}
all
{ANY}
log,
sqrt
end
feature -- Access

log_2 (v: REAL): REAL
-- Base 2 logarithm of `v'

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

arc_cosine (v: REAL): REAL
-- Trigonometric arccosine of `v'

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

arc_sine (v: REAL): REAL
-- Trigonometric arcsine of `v'

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

arc_tangent (v: REAL): REAL
-- Trigonometric arctangent of `v'

log10 (v: REAL): REAL
-- Base 10 logarithm of `v'
require
v > 0.0

floor (v: REAL): REAL
-- Greatest integral value less than or equal to `v'

ceiling (v: REAL): REAL
-- Least integral value greater than or equal to `v'
end -- class SINGLE_MATH

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES