UD70
Issue code: 70nu2
Reference
7-17
LN
Syntax
result = LN (expression)
This mathematical function returns the natural logarithm of an expression.
Example
y = LN(1.5)
This returns the value 0.405465108
See also
EXP
instruction.
MAX
Syntax
result% = MAX (expression
_
A%, expression
_
B%)
result = MAX (expression
_
A, expression
_
B)
This mathematical function returns the greater of two expressions.
Example
a% = 12
b% = MAX (a%, 100)
The value returned in b%
b% is 100 because a%
a% is less than 100. If a%
a% is 105, the
value returned in b%
b% would be the value of a%
a% (105).
MIN
Syntax
result% = MIN (expression
_
A%, expression
_
B%)
result = MIN (expression
_
A, expression
_
B)
This mathematical function returns the smaller of two functions
Example
a% = 12
b% = MIN(a%, 100)
The value returned in b%
b% is 12 because a%
a% is less than 100. If a%
a% is 105, the
value returned in b%
b% would be 100.
Содержание UD70
Страница 6: ......
Страница 14: ...UD70 Issue code 70nu2 2 6 Installation...
Страница 42: ...UD70 Issue code 70nu2 4 20 DPL programming...
Страница 98: ...UD70 Issue code 70nu2 7 22 Reference...
Страница 142: ...UD70 Issue code 70nu2 9 6 Diagnostics...