https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120225
Bug ID: 120225
Summary: [F2023] Use mpfr_sinu etc. with mpfr 4.2.0+ for
decimal trigonometric functions
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
Target Milestone: ---
New in mpfr 4.2.0: "New functions mpfr_cosu, mpfr_sinu, mpfr_tanu, mpfr_acosu,
mpfr_asinu, mpfr_atanu and mpfr_atan2u."
Use it if the u variants if mpfr is new enough and the fallback otherwise:
"Set rop to the cosine (resp. sine and tangent) of op multiplied by 2 Pi and
divided by u. For example, if u equals 360, one gets the cosine (resp. sine and
tangent) for op in degrees"