|
Embedded Template Library
1.0
|
#include <log.h>
Public Types | |
| enum | value_type { value = (N >= BASE) ? 1 + log<N / BASE, BASE>::value : 0 } |
The base generic log template. Defines value as the log of the number at the specified base. The result is rounded down to the next integer.
| N | The number to find the log of. |
| BASE | The base of the log. |