Skip to main content

IAR Embedded Workbench for RISC-V 3.40

__fp_copy_signNN

In this section:
Syntax
float  __fp_copy_sign32(float  value, float  sign);
double __fp_copy_sign64(double value, double sign);
Description

Returns the argument value with the sign of the argument sign, using the instruction sgnj.s (32-bit FPU) or sgnj.d (64-bit FPU). A compatible FPU must be available.

Note

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