Skip to main content

IAR Embedded Workbench for RISC-V 3.40

__fp_maxNN

In this section:
Syntax
float  __fp_max32(float  value1, float  value2);
double __fp_max64(double value1, double value2);
Description

Returns the largest value of value1 and value2, using the instruction fmax.s (32-bit FPU) or fmax.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.