And that might differ between JITs and compiled languages and different numerical types.
For any machine precision numerical types, if the code is compiled, it'll just become
TEST EAX, EAX ...set eax to 0 or 1 based on jmp...
So in most compiled languages, a bool cast on machine precision numerics, will be constant time.