(log2: Number) → Number

This maths macro produces the base-2 logarithm of the given number.

Example usage:

(log2: 256) produces 8.