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

Function xsum_large_div_int

xs/sources/xsum.c:2215–2220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2213/* FIND RESULT OF DIVIDING LARGE ACCUMULATOR BY SIGNED INTEGER. */
2214
2215xsum_flt xsum_large_div_int
2216 (xsum_large_accumulator *restrict lacc, int div)
2217{ if (xsum_debug) c_printf("\nDIVIDE LARGE ACCUMULATOR BY SIGNED INTEGER\n");
2218 xsum_large_transfer_to_small (lacc);
2219 return xsum_small_div_int (&lacc->sacc, div);
2220}
2221
2222
2223/* ------------------- ROUTINES FOR NON-EXACT SUMMATION --------------------- */

Callers

nothing calls this directly

Calls 2

xsum_small_div_intFunction · 0.85

Tested by

no test coverage detected