kcl-std → functions → log2log2Function in std::mathCompute the base 2 logarithm of the number. Copy snippet Arguments NameTypeDescriptionRequiredinputnumberA number.Yes Returns number - A number. Examples Copy snippet Found a typo?