__fmadd, __builtin_fma, __fmadds, __builtin_fmaf

Purpose

Floating Multiply-Add, Floating Multiply-Add Single

Multiplies the first two arguments, adds the third argument, and returns the result.

Prototype

double __builtin_fma (double, double, double);

float __builtin_fmaf (float, float, float);

double __fmadd (double, double, double);

float __fmadds (float, float, float);

Note:
  • The built-in function __fmadd is a synonym of __builtin_fma and the built-in function __fmadds is a synonym of __builtin_fmaf.
  • The built-in functions __fmadd and __fmadds are provided for compatibility with IBM® XL C/C++ for AIX® 16.1 or earlier releases. This built-in function might be deprecated in the future.