@Unihedron
You still do not get the point. You would ruin finance application if you were to allow negative zero. So stop your nonsense with copying stuff of internet on the theory of -0.
My advice to you is to stick to requirements while designing solutions.
@Unihedron
It's not about what's possible but the requirements of the exercise itself. If your attitude is to ignore the requirements perhaps you should reconsider career. Programming is not the path for people who argue but solve problems in the way that satisfies the REQUIREMENTS.
Best and cleanest solution !
@Unihedron
You still do not get the point. You would ruin finance application if you were to allow negative zero. So stop your nonsense with copying stuff of internet on the theory of -0.
My advice to you is to stick to requirements while designing solutions.
This comment is hidden because it contains spoiler information about the solution
@Unihedron
Review older comments. -0 issue had been pointed out by others too.
This comment is hidden because it contains spoiler information about the solution
Best practice score 369 at the mement. Well ...
@Unihedron
It's not about what's possible but the requirements of the exercise itself. If your attitude is to ignore the requirements perhaps you should reconsider career. Programming is not the path for people who argue but solve problems in the way that satisfies the REQUIREMENTS.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution