A common way to determine the sign of a number is a comparison with zero. Let's check this out for each of the following constants.
Float special values
Sign
Report a typo
Match the items from left and right columns
inf-infnanFalsegreater than 0.0
equal to 0.0
less than 0.0
not equal to 0.0
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.