MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / large_mul

Function large_mul

Source/external/fast_float.h:2181–2189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2179// grade-school multiplication algorithm
2180template <uint16_t size>
2181FASTFLOAT_CONSTEXPR20
2182bool large_mul(stackvec<size>& x, limb_span y) noexcept {
2183 if (y.len() == 1) {
2184 FASTFLOAT_TRY(small_mul(x, y[0]));
2185 } else {
2186 FASTFLOAT_TRY(long_mul(x, y));
2187 }
2188 return true;
2189}
2190
2191template <typename = void>
2192struct pow5_tables {

Callers 1

pow5Method · 0.85

Calls 3

small_mulFunction · 0.85
long_mulFunction · 0.85
lenMethod · 0.45

Tested by

no test coverage detected