#include <nitro/os/common/systemCall.h>
u16 SVC_Sqrt( u32 src );
src | Value of the square root to be calculated. |
This is the result of the square root calculation.
This function calculates the square root.
To improve the precision of the calculation, shift the argument to the left by a multiple of 2 before passing it over. Shift the return value as well to align the digits. Because the code size is compressed, it is not high speed.
07/20/2004 Initial Version