MCPcopy Create free account
hub / github.com/numpy/numpy / npyv_muladdsub_f32

Function npyv_muladdsub_f32

numpy/core/src/common/simd/vec/arithmetic.h:328–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326// (a * b) -+ c
327#if NPY_SIMD_F32
328NPY_FINLINE npyv_f32 npyv_muladdsub_f32(npyv_f32 a, npyv_f32 b, npyv_f32 c)
329{
330 const npyv_f32 msign = npyv_set_f32(-0.0f, 0.0f, -0.0f, 0.0f);
331 return npyv_muladd_f32(a, b, npyv_xor_f32(msign, c));
332}
333#endif
334NPY_FINLINE npyv_f64 npyv_muladdsub_f64(npyv_f64 a, npyv_f64 b, npyv_f64 c)
335{

Callers

nothing calls this directly

Calls 1

npyv_muladd_f32Function · 0.50

Tested by

no test coverage detected