[Contents] · [Home] · [Mail]

SALIERI Language - Operator "*" (_TIMES)

Type:
_TIMES: int x int -> int
_TIMES: real x real -> real

Call syntax:
_TIMES(x, y)
x * y

Description:
The binary infix operator "*" realises arithmetic multiplication on integers and reals; there is a corresponding predefined function _TIMES, such that a * b and _TIMES(a,b) are equivalent expressions.

In expressions, "*" binds stronger than "+" and "-", but weeker than list element access (@) and the length operator (#).

Example:
> 15*3
Result= 45
> 12.5*0.5
Result= 6.25
> 3.6*2
Result= 7.2

See also: Operators and Expressions.


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