Following C++ code outputs negative zero instead of positive.
double a = 0, b = -1;
double c = a / b ;
std::cout << c << std::endl;
As both zeros (+0 and -0) will compare equal, have the same mathematical value, then why it is required to support signed zero?
What is the significance of this difference?