Skip to main content

IAR Embedded Workbench for RISC-V 3.40

__fp_sqrtNN

In this section:
Syntax
float  __fp_sqrt32(float);
double __fp_sqrt64(double);
Description

Returns the square root of the argument, using the instruction fsqrt.s (32-bit FPU) or fsqrt.d (64-bit FPU). A compatible FPU must be available.

Note

This function does not set errno.

Note

To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.