This probably works better if it works on the right register.
This sanitise routine appears to be nonsense.
Don't directly call the 'interesting number' functions.

rand32/rand64 will sometimes call these, so just use those.
That way, we'll also get some randomness used.
The rand() functions do the single bit case.