python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
In C++, can the sum of two squared float be negative?
I have a snippet of code that compute the sum of two squared floats:
float a, b, c;
// assign some random float to b and c
a = b*b+c*c;
Can a, the sum of the two squared floats, be negative?
The orig...

Alessandro Jacopson
Votes: 0
Answers: 1
Reason for using custom true false values in frameworks
I was reading the GLFW library and I noticed they use GLFW_TRUE(1) and GLFW_FALSE(0). Now I've already seen that in other frameworks as well,making their own custom true/false identifiers. Is there an...

laegirl
Votes: 0
Answers: 4