Name

abs acos acos asin asin atan atan cbrt ceil cos cosh cosh exp expm1 floor hypot log log10 log1p pow random round signum sin sinh sqrt tan tanh tanh — Floating point math commands

Synopsis

command number [number]

Description

Floating point math commands. The names are mostly self explanatory, corresponding to the methods found here: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Math.html

[Note]Note

Keep in mind that none of these commands are available in the MIDP1.0 version of Hecl, and that the following commands are available only in J2SE versions of Hecl:

acos atan ceil round exp floor sin cos sqrt log tan asin

The following are only available in versions of Hecl built for Java 1.5 and above.

cbrt cosh expm1 hypot log10 log1p signum sinh tanh