From 4ce4e983e70eacbeacda304d2fd3646e369a183e Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 13 Oct 2026 04:33:03 +0200 Subject: [PATCH] jmath: rustfmt Co-Authored-By: Claude Opus 5.5 --- crates/horizon-core/src/jmath.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/horizon-core/src/jmath.rs b/crates/horizon-core/src/jmath.rs index 6d94b835b..c88a8c81d 100644 --- a/crates/horizon-core/src/jmath.rs +++ b/crates/horizon-core/src/jmath.rs @@ -124,7 +124,8 @@ fn with_hi(x: f64, high: i32) -> f64 { /// `java.lang.FdLibm` ports (`StrictMath`) of what the `libm` crate computes /// differently. -#[allow(clippy::excessive_precision, clippy::approx_constant, clippy::eq_op)] // fdlibm's constants and NaN, verbatim. +// fdlibm's constants and NaN, verbatim. +#[allow(clippy::excessive_precision, clippy::approx_constant, clippy::eq_op)] pub mod fdlibm { use super::{hi, with_hi}; @@ -337,7 +338,8 @@ pub mod fdlibm { /// HotSpot's AArch64 `Math.sin` / `Math.cos` stubs /// (`MacroAssembler::generate_dsin_dcos`): fdlibm with fused multiply-adds. /// Exposed on every architecture so they can be tested anywhere. -#[allow(clippy::excessive_precision, clippy::approx_constant, clippy::unreadable_literal)] // HotSpot's tables, verbatim. +// HotSpot's tables, verbatim. +#[allow(clippy::excessive_precision, clippy::approx_constant, clippy::unreadable_literal)] pub mod aarch64 { use super::hi;