Junior — Senior
Bit order inversion in a 64-bit unsigned number
livecode
Task condition
Given a value of type uint64_t. It is required to construct and return a new number of the same type, in which the bits of the original value are arranged in reverse order – the first bit becomes the last, the second – the penultimate, and so on.