insaf021 commented on PR #357:
URL: https://github.com/apache/commons-math/pull/357#issuecomment-7018864999

   Fair point on underflow. The sign carries real information there, and the 
class is already consistent with itself, so I've dropped the `+ 0.0`.
   
   Reworked along the lines of your comment on MATH-1698. The pairs are now 
`double[]` ordered with `Double.compare`, which matches the old 
`compareTo`/`equals` semantics, so results don't change. The class javadoc now 
states that `-0.0` and `0.0` are distinct. The test pins `-0.0 < 0.0` and 
passes on master as well as this branch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to