# SVC_Sqrt

## C Specification

      #include <nitro/os/common/systemCall.h>

      u16 SVC_Sqrt( u32    src );

## Description

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.

This function is not a high speed function because the code size is restricted.

## Arguments

`src` | Value of the square root to be calculated.

## Return Values

This is the result of the square root calculation.

## See Also

`CP_SetSqrt()`

## Revision History

07/20/2004 Initial Version