On Sat, Jun 7, 2025 at 3:56 PM Yuao Ma <c...@outlook.com> wrote: > > Hi all, > > This patch has been updated to conditionally fold the specified math functions > only when using MPFR version 4.2.0 or newer. > > To accompany this change, the test case now utilizes `__builtin_constant_p` to > determine whether to execute the tests against the folded functions. > > Let me know if this patch needs further modifications!
(edom_only_function): Add acospi/asinpi/cospi/sinpi. Remove atan because atan NEVER produce EDOM. please split out the ATAN handling change to a separate patch. The other changes look OK to me from an implementation perspective - I can't say anything about correctness given I have no idea what those new functions do. Richard. > Best regards, > Yuao >