atan2(-0.,x) works