![Moog SmartMotor Скачать руководство пользователя страница 718](http://html1.mh-extra.com/html/moog/smartmotor/smartmotor_developers-manual_1831639718.webp)
P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 718 of 909
SQRT(value)
Integer Square Root
APPLICATION:
Math function
DESCRIPTION:
Gets (reads) the integer square root
EXECUTION:
Immediate
CONDITIONAL TO:
N/A
LIMITATIONS:
N/A
READ/REPORT:
RSQRT(value)
WRITE:
Read only
LANGUAGE ACCESS:
N/A
UNITS:
Positive integer
RANGE OF VALUES:
Input: Positive integer 0 - 2147483647
Output: Positive integer 0 - 46340
TYPICAL VALUES:
Input: Positive integer 0 - 2147483647
Output: Positive integer 0 - 46340
DEFAULT VALUE:
N/A
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
N/A
DETAILED DESCRIPTION:
NOTE:
For a floating-point version, see FSQRT(value) on page 452.
The SQRT command gets (reads) the integer square root of a variable or value as follows:
=SQRT(x)
where x = any positive integer ≥0.
The integer square root of x is the greatest integer ≤ the square root of x. For example, if x is
6, the integer square root is 2 because 2 is the greatest integer ≤ the square root of 6.
Therefore, all inputs for x from 4 through 8 will give the result 2; when x is 9 through 15, the
result changes to 3.
Part 2: Commands: SQRT(value)
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...