Problem | mathexam |
---|---|
User | Blender |
Submission Time | 2024-01-19 14:38:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mathexam.cpp: In function ‘int main()’:
mathexam.cpp:44:37: error: invalid operands of types ‘float’ and ‘double(const char*) noexcept’ to binary ‘operator==’
44 | if ( resultPositive == nan || resultNegative == nan ) cout << "No solution!";
| ~~~~~~~~~~~~~~ ^~ ~~~
| | |
| float double(const char*) noexcept
mathexam.cpp:44:62: error: invalid operands of types ‘float’ and ‘double(const char*) noexcept’ to binary ‘operator==’
44 | if ( resultPositive == nan || resultNegative == nan ) cout << "No solution!";
| ~~~~~~~~~~~~~~ ^~ ~~~
| | |
| float double(const char*) noexcept