MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / fma

Method fma

include/half/half.hpp:1351–1358  ·  view source on GitHub ↗

Fused multiply-add implementation. \param x first operand \param y second operand \param z third operand \return \a x * \a y + \a z stored in single-precision

Source from the content-addressed store, hash-verified

1349 /// \param z third operand
1350 /// \return \a x * \a y + \a z stored in single-precision
1351 static expr fma(float x, float y, float z)
1352 {
1353 #if HALF_ENABLE_CPP11_CMATH && defined(FP_FAST_FMAF)
1354 return expr(std::fma(x, y, z));
1355 #else
1356 return expr(x*y+z);
1357 #endif
1358 }
1359
1360 /// Get NaN.
1361 /// \return Half-precision quiet NaN

Callers

nothing calls this directly

Calls 2

exprClass · 0.85
fmaFunction · 0.70

Tested by

no test coverage detected