Fix issue with -0.

#64 introduced #68 due to -0 in floating points. This should properly handle that case.