Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__fma, __fmaf

In this section:
Syntax
double __fma(double x, double y, double z);
float __fmaf(float x, float y, float z);
Description

Fused floating-point multiply-accumulate computes x*y+z without intermediate rounding, which corresponds either to the intrinsic call __VFMA_F64(z, x, y) for double precision, or __VFMA_F32(z, x, y) for single precision.

These intrinsic functions are defined according to the Arm C Language Extensions (ACLE).

Note

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