Manual Page Result
0
Command: fma | Section: 3 | Source: OpenBSD | File: fma.3
FMA(3) FreeBSD Library Functions Manual FMA(3)
NAME
fma, fmaf, fmal - floating multiply-add
SYNOPSIS
#include <math.h>
double
fma(double x, double y, double z);
float
fmaf(float x, float y, float z);
long double
fmal(long double x, long double y, long double z);
DESCRIPTION
The fma(), fmaf() and fmal() functions compute (x * y) + z, rounded as
one ternary operation. The result is rounded according to the current
rounding mode.
RETURN VALUES
The fma(), fmaf() and fmal() functions return (x * y) + z, rounded as one
ternary operation.
SEE ALSO
fegetround(3), remainder(3)
STANDARDS
The fma(), fmaf() and fmal() functions conform to ISO/IEC 9899:1999
("ISO C99").
FreeBSD 14.1-RELEASE-p8 June 5, 2013 FreeBSD 14.1-RELEASE-p8