From 2761072c446b1e89b102c1a9fa163e16950adc0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BCpper?= Date: Sat, 13 Jun 2026 21:41:01 +0200 Subject: [PATCH] docs(fast-math): correct float_algebraic flag set (drop afn) Rust's #![feature(float_algebraic)] enables reassoc + nsz + arcp + contract but never afn. The --fast-math reference page wrongly listed afn in that set. Reported by @saethlin on commit cdc9bce. Fixes the source page plus the matching msgid/msgstr across the .pot and every translation. The standalone afn bullet (a flag Perry does not enable) and the 'strictly more conservative' conclusion are unchanged. --- docs/po/de.po | 4 ++-- docs/po/es.po | 4 ++-- docs/po/fr.po | 4 ++-- docs/po/id.po | 4 ++-- docs/po/it.po | 4 ++-- docs/po/ja.po | 4 ++-- docs/po/ko.po | 4 ++-- docs/po/messages.pot | 2 +- docs/po/th.po | 4 ++-- docs/po/vi.po | 4 ++-- docs/po/zh-CN.po | 4 ++-- docs/src/cli/fast-math.md | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/po/de.po b/docs/po/de.po index 4dcae4f408..0a5800c3d6 100644 --- a/docs/po/de.po +++ b/docs/po/de.po @@ -52085,11 +52085,11 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "Zur Referenz: Rust nightlys `#![feature(float_algebraic)]` aktiviert " -"`reassoc + contract + nsz + arcp + afn`. Perrys `--fast-math` ist strikt " +"`reassoc + contract + nsz + arcp`. Perrys `--fast-math` ist strikt " "konservativer als das." #: src/cli/fast-math.md:103 diff --git a/docs/po/es.po b/docs/po/es.po index 7f3263b3c5..742f489fae 100644 --- a/docs/po/es.po +++ b/docs/po/es.po @@ -52468,11 +52468,11 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "Como referencia, `#![feature(float_algebraic)]` de Rust nightly habilita " -"`reassoc + contract + nsz + arcp + afn`. El `--fast-math` de Perry es " +"`reassoc + contract + nsz + arcp`. El `--fast-math` de Perry es " "estrictamente más conservador que eso." #: src/cli/fast-math.md:103 diff --git a/docs/po/fr.po b/docs/po/fr.po index 604ed6cbab..cdda663fd5 100644 --- a/docs/po/fr.po +++ b/docs/po/fr.po @@ -52595,11 +52595,11 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "Pour référence, le `#![feature(float_algebraic)]` de Rust nightly active " -"`reassoc + contract + nsz + arcp + afn`. Le `--fast-math` de Perry est " +"`reassoc + contract + nsz + arcp`. Le `--fast-math` de Perry est " "strictement plus conservateur que cela." #: src/cli/fast-math.md:103 diff --git a/docs/po/id.po b/docs/po/id.po index 79978d2af8..961e1a2770 100644 --- a/docs/po/id.po +++ b/docs/po/id.po @@ -51507,11 +51507,11 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "Sebagai referensi, `#![feature(float_algebraic)]` Rust nightly mengaktifkan " -"`reassoc + contract + nsz + arcp + afn`. `--fast-math` Perry secara ketat " +"`reassoc + contract + nsz + arcp`. `--fast-math` Perry secara ketat " "lebih konservatif daripada itu." #: src/cli/fast-math.md:103 diff --git a/docs/po/it.po b/docs/po/it.po index ce1c7dc8b6..5b3b20414d 100644 --- a/docs/po/it.po +++ b/docs/po/it.po @@ -51945,11 +51945,11 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "Per riferimento, `#![feature(float_algebraic)]` di Rust nightly abilita " -"`reassoc + contract + nsz + arcp + afn`. Il `--fast-math` di Perry è " +"`reassoc + contract + nsz + arcp`. Il `--fast-math` di Perry è " "strettamente più conservativo di quello." #: src/cli/fast-math.md:103 diff --git a/docs/po/ja.po b/docs/po/ja.po index 4e35162a62..f0b13be5eb 100644 --- a/docs/po/ja.po +++ b/docs/po/ja.po @@ -49437,11 +49437,11 @@ msgstr "`afn`(近似関数) — LLVMが低精度の数学組み込みを置き #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "参考までに、Rust nightly の `#![feature(float_algebraic)]` は `reassoc + contract + " -"nsz + arcp + afn` を有効にします。Perry の `--fast-math` はそれよりも厳密に保守的です。" +"nsz + arcp` を有効にします。Perry の `--fast-math` はそれよりも厳密に保守的です。" #: src/cli/fast-math.md:103 msgid "Performance numbers" diff --git a/docs/po/ko.po b/docs/po/ko.po index 9eaddd390f..e8d8a61468 100644 --- a/docs/po/ko.po +++ b/docs/po/ko.po @@ -49388,11 +49388,11 @@ msgstr "`afn` (근사 함수) — LLVM이 더 낮은 정밀도의 수학 내장 #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "참고로, Rust nightly의 `#![feature(float_algebraic)]`은 `reassoc + contract + nsz" -" + arcp + afn`을 활성화합니다. Perry의 `--fast-math`는 그보다 엄격하게 보수적입니다." +" + arcp`을 활성화합니다. Perry의 `--fast-math`는 그보다 엄격하게 보수적입니다." #: src/cli/fast-math.md:103 msgid "Performance numbers" diff --git a/docs/po/messages.pot b/docs/po/messages.pot index a9b436886e..61db3242b3 100644 --- a/docs/po/messages.pot +++ b/docs/po/messages.pot @@ -46635,7 +46635,7 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" diff --git a/docs/po/th.po b/docs/po/th.po index 29636ff1c0..c8574af103 100644 --- a/docs/po/th.po +++ b/docs/po/th.po @@ -51030,11 +51030,11 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "เพื่อการอ้างอิง `#![feature(float_algebraic)]` ของ Rust nightly เปิดใช้งาน " -"`reassoc + contract + nsz + arcp + afn` `--fast-math` ของ Perry " +"`reassoc + contract + nsz + arcp` `--fast-math` ของ Perry " "นั้นอนุรักษ์นิยมมากกว่านั้นอย่างเข้มงวด" #: src/cli/fast-math.md:103 diff --git a/docs/po/vi.po b/docs/po/vi.po index 4513fd414a..a2369d5283 100644 --- a/docs/po/vi.po +++ b/docs/po/vi.po @@ -51444,11 +51444,11 @@ msgstr "" #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "Để tham khảo, `#![feature(float_algebraic)]` của Rust nightly bật `reassoc +" -" contract + nsz + arcp + afn`. `--fast-math` của Perry bảo thủ hơn hẳn so " +" contract + nsz + arcp`. `--fast-math` của Perry bảo thủ hơn hẳn so " "với điều đó." #: src/cli/fast-math.md:103 diff --git a/docs/po/zh-CN.po b/docs/po/zh-CN.po index 369313d844..da0100af55 100644 --- a/docs/po/zh-CN.po +++ b/docs/po/zh-CN.po @@ -48915,11 +48915,11 @@ msgstr "`afn`(近似函数)— 会让 LLVM 替换为低精度的数学内建 #: src/cli/fast-math.md:99 msgid "" "For reference, Rust nightly's `#![feature(float_algebraic)]` enables " -"`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is strictly " +"`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly " "more conservative than that." msgstr "" "作为参考,Rust nightly 的 `#![feature(float_algebraic)]` 启用了 `reassoc + contract +" -" nsz + arcp + afn`。Perry 的 `--fast-math` 比这严格保守得多。" +" nsz + arcp`。Perry 的 `--fast-math` 比这严格保守得多。" #: src/cli/fast-math.md:103 msgid "Performance numbers" diff --git a/docs/src/cli/fast-math.md b/docs/src/cli/fast-math.md index bce665d942..57fc8d6f9b 100644 --- a/docs/src/cli/fast-math.md +++ b/docs/src/cli/fast-math.md @@ -97,7 +97,7 @@ particular, these flags stay clear: precision math intrinsics. For reference, Rust nightly's `#![feature(float_algebraic)]` enables -`reassoc + contract + nsz + arcp + afn`. Perry's `--fast-math` is +`reassoc + contract + nsz + arcp`. Perry's `--fast-math` is strictly more conservative than that. ## Performance numbers