This is an automated email from the ASF dual-hosted git repository.

wgtmac pushed a commit to branch production
in repository https://gitbox.apache.org/repos/asf/parquet-site.git


The following commit(s) were added to refs/heads/production by this push:
     new 26d9094  Explicitly use an arithmetic right shift in ieee754 total 
order (#197)
26d9094 is described below

commit 26d9094a56a8985a264968b6b647a84723ddbc95
Author: Zehua Zou <[email protected]>
AuthorDate: Fri Aug 14 10:19:57 2026 +0800

    Explicitly use an arithmetic right shift in ieee754 total order (#197)
---
 content/en/blog/features/ieee754-order.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/content/en/blog/features/ieee754-order.md 
b/content/en/blog/features/ieee754-order.md
index 5da1519..6eb074f 100644
--- a/content/en/blog/features/ieee754-order.md
+++ b/content/en/blog/features/ieee754-order.md
@@ -61,6 +61,7 @@ Interestingly, implementing this ordering doesn't require a 
heavy, complex compa
 pub fn totalOrder(x: f64, y: f64) -> bool {
     let mut x_int = x.to_bits() as i64;
     let mut y_int = y.to_bits() as i64;
+    // arithmetic shift
     x_int ^= (((x_int >> 63) as u64) >> 1) as i64;
     y_int ^= (((y_int >> 63) as u64) >> 1) as i64;
     return x_int <= y_int;

Reply via email to