[PATCH] Cygwin: Adapt math functions to use 64bit long double on aarch64
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Apr 30 16:10:45 GMT 2026
Hi Chandru,
On Apr 29 11:33, Chandru Kumaresan wrote:
> Hi Corinna,
> The previously mentioned changes are not the only ones required. A few additional files also need to be modified to ensure that Cygwin works correctly on aarch64.
> The approach taken is consistent with mingw-w64. mingw-w64 uses the __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__ macro to implement aarch64-specific code for math functions.
> For reference, a similar approach is used in this upstream mingw-w64 commit:
> https://github.com/mingw-w64/mingw-w64/commit/dbb60ad07c2983027cd09f0f7221505400391caa
Pushed, thank you!
Corinna
More information about the Cygwin-patches
mailing list