![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268609.webp)
570
Special Math Instructions
Section 3-14
Square Root of a 4-digit Number
The following example shows how to take the square root of a 4-digit number
and round off the result. This program example calculates the square root of
the 4-digit number in CIO 0010, rounds off the result, and writes it to
CIO 0011. (Basically, the 4-digit number is multiplied by 10,000 (100
2
) and the
result is divided by 100, increasing the precision of the calculation by a factor
of 100.)
Note
Figures after the decimal point are rounded for 4-digit numbers.
Truncated
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...