nchammas commented on PR #53695: URL: https://github.com/apache/spark/pull/53695#issuecomment-4488384136
This is an interesting proposal and is directly related to the work I did in https://github.com/apache/spark/pull/45036. Please take a look. There are special cases where values can be equal and distinct (-0.0/0.0), or unequal but not distinct (NaN/NaN). I agree that Spark should handle -0.0 consistently. However, I would consider it a safer change to ensure that -0.0 is always preserved, rather than always normalizing it to 0.0. This does not contradict IEEE 754. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
