I never needed negative floating points in my projects, and also in addition I heard somewhere lol, that negative floats and doubles are not supported by standard.
I just wrote following just to miraculously discover that negative floating points do work :)
1 2 3
float x = -4.3;
float y = 4.2;
cout << x + y << endl;
Program output:
-0.1
So what's the trick with negative floating points, are they supported by standard or not?