leadingOnes

private fnuint leadingOnes(ulong x) pure nothrow @safe @nogc

Returns the number of most significant ones before a zero can be found in x. If x contains no zeros (i.e. is equal to ulong.max), returns 64.