Compute K s.t. A = K * 2e; return K and e.
Name | Type | Description |
---|---|---|
A | T | The number from which to remove the powers of 2. |
e | T2 | A pointer to the variable that will contain the powers of 2. |
#include <nttl/factorPowerOfTwo.h> ... long A = 212312; short e; long K = FactorPowerOfTwo( A, &e ); // // Now K = ?, and e = ? // |