valtruncPow2
fn
T truncPow2(T)(const T val) if (isIntegral!T)Gives the last power of two before val. can be any built-in numerical type.
Parameters
val | any number |
Returns
the last power of two before
fn
T truncPow2(T)(const T val) if (isFloatingPoint!T)ditto