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

Method pow2

Source/external/fast_float.h:2390–2392  ·  view source on GitHub ↗

multiply as if by 2 raised to a power.

Source from the content-addressed store, hash-verified

2388
2389 // multiply as if by 2 raised to a power.
2390 FASTFLOAT_CONSTEXPR20 bool pow2(uint32_t exp) noexcept {
2391 return shl(exp);
2392 }
2393
2394 // multiply as if by 5 raised to a power.
2395 FASTFLOAT_CONSTEXPR20 bool pow5(uint32_t exp) noexcept {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected