Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

log

log<N, BASE> : Calculates logs to any base, rounded down to the nearest integer. More...

Data Structures

struct  log< NV, BASE >
 The base generic log template. More...
struct  log2< NV >
 Calculates base 2 logs. More...
struct  log10< NV >
 Calculates base 10 logs. More...

Detailed Description

log<N, BASE> : Calculates logs to any base, rounded down to the nearest integer.


log2<N> : Calculates logs to base 2, rounded down to the nearest integer.
log10<N> : Calculates logs to base 10, rounded down to the nearest integer.