[Contents] · [Home] · [Mail]

SALIERI Language - root

Type:
root: real -> real
root: real x real -> real

Call syntax:
root(argument)
root(root_exp, argument)

Description:
root is used to compute root functions. The root exponent parameter is optional, when ommitted, root evaluates the square root of its argument.

Error conditions:
When applied to negative values, root leads to an error condition.

Example:
> root(2)
Result= 1.4142136
> root(3,8)
Result= 2.00000000
> root(0)
Result= 0.00000000
> root(-1)
Error in command-line:
Invalid argument value
(occured while executing function "root")

See also: exp, log.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.