From c035eb49053996354c504362feb20d64e27b28e2 Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" <69878+youknowone@users.noreply.github.com> Date: Wed, 23 Apr 2025 21:04:42 +0900 Subject: [PATCH] Add warning for mul_add feature --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5b6b7e0..0cea366 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,11 @@ license = "PSF-2.0" [features] -# Turning on this feature on aarch64-apple-darwin helps bit representation compatibility +# Do not enable this feature unless you really need it. +# CPython didn't intend to use FMA for its math library. +# This project uses this feature in CI to verify the code doesn't have additional bugs on aarch64-apple-darwin. +# However, this does not mean that using this feature is better or more correct on that platform. +# Note that the quality of the results has been well-tested without FMA but has not been tested with FMA. # See also: https://github.com/python/cpython/issues/132763 mul_add = []