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

Function xsum_large_div_unsigned

xs/sources/xsum.c:2205–2210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2203/* FIND RESULT OF DIVIDING LARGE ACCUMULATOR BY UNSIGNED INTEGER. */
2204
2205xsum_flt xsum_large_div_unsigned
2206 (xsum_large_accumulator *restrict lacc, unsigned div)
2207{ if (xsum_debug) c_printf("\nDIVIDE LARGE ACCUMULATOR BY UNSIGNED INTEGER\n");
2208 xsum_large_transfer_to_small (lacc);
2209 return xsum_small_div_unsigned (&lacc->sacc, div);
2210}
2211
2212
2213/* FIND RESULT OF DIVIDING LARGE ACCUMULATOR BY SIGNED INTEGER. */

Callers

nothing calls this directly

Calls 2

xsum_small_div_unsignedFunction · 0.85

Tested by

no test coverage detected