From 335dfe4970f6cf5f65c0e4a50874a8f08bed1654 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Fri, 20 Nov 2026 11:14:13 -0800 Subject: [PATCH] craft-color: spell gray in American English in the BT.2408 test comment --- crates/color/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/color/src/lib.rs b/crates/color/src/lib.rs index 85bd801995..81b0fd80ff 100644 --- a/crates/color/src/lib.rs +++ b/crates/color/src/lib.rs @@ -434,7 +434,7 @@ mod tests { let pq = pq_inverse_eotf(nits / 10_000.0) * 100.0; assert!((pq - pq_percent).abs() <= 0.5, "{nits} nits: PQ {pq}% vs {pq_percent}%"); // The BT.2100 HLG OOTF has a system gamma of 1.2 on a 1 000 cd/m² display, so a - // neutral grey shown at `nits` comes from scene light (nits / 1000)^(1 / 1.2). + // neutral gray shown at `nits` comes from scene light (nits / 1000)^(1 / 1.2). let hlg = hlg_oetf((nits / 1000.0).powf(1.0 / 1.2)) * 100.0; assert!((hlg - hlg_percent).abs() <= 0.5, "{nits} nits: HLG {hlg}% vs {hlg_percent}%"); }