MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / xsum_small_add1

Function xsum_small_add1

xs/sources/xsum.c:988–997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986 value. */
987
988void xsum_small_add1 (xsum_small_accumulator *restrict sacc, xsum_flt value)
989{
990 if (sacc->adds_until_propagate == 0)
991 { (void) xsum_carry_propagate(sacc);
992 }
993
994 xsum_add1_no_carry (sacc, value);
995
996 sacc->adds_until_propagate -= 1;
997}
998
999
1000/* ADD A VECTOR OF FLOATING-POINT NUMBERS TO A SMALL ACCUMULATOR. Mixes

Callers 1

fx_Math_sumPreciseFunction · 0.85

Calls 2

xsum_carry_propagateFunction · 0.85
xsum_add1_no_carryFunction · 0.85

Tested by

no test coverage detected