LOG2E

Try it yourself:


LOG2E: base-2 logarithm of e

LOG2E is log₂(e), a conversion factor useful in binary information and exponential models.

Use

It converts log() results to base 2. Use pow() for inverse exponent relations and LN2 for the reciprocal conversion.

Caveat

Use it as a dimensionless constant, and validate real log inputs with isPositive().

All constants