viirya commented on code in PR #3510: URL: https://github.com/apache/arrow-rs/pull/3510#discussion_r1067767851
########## arrow-ord/src/comparison.rs: ########## @@ -685,6 +691,8 @@ where /// If `simd` feature flag is not enabled: /// For floating values like f32 and f64, this comparison produces an ordering in accordance to /// the totalOrder predicate as defined in the IEEE 754 (2008 revision) floating point standard. +/// Note that totalOrder treats positive and negative zeros are different. If it is necessary +/// to treat them as equal, please normalize zeros before calling this kernel. Review Comment: I updated these docs to make the behavior clear to users. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org