Improve code readability
While `float || float` is going to return a value that's either not zero or the last float value, this syntax can be confusing to people coming from C++ background. So let's use more conventional ternary operator to make this code more readable.
Please register or sign in to comment