Skip to content

Add AArch64 support by using long double with libm - #114

Merged
ararslan merged 1 commit into
masterfrom
aa/long-double
Sep 25, 2026
Merged

ararslan merged 1 commit into
masterfrom
aa/long-double

Conversation

@ararslan

Copy link
Copy Markdown
Member

Unlike x86-64, on AArch64, long double is IEEE binary128 and there is no libquadmath. We can support that architecture in this package by conditionally calling long double functions from libm. The only difference in functionality is that the Bessel functions do not have long double equivalents.

With these changes, all tests pass on FreeBSD AArch64.

Unlike x86-64, on AArch64, `long double` is IEEE binary128 and there is
no libquadmath. We can support that architecture in this package by
conditionally calling `long double` functions from libm. The only
difference in functionality is that the Bessel functions do not have
`long double` equivalents.

With these changes, all tests pass on FreeBSD AArch64.
@ararslan
ararslan merged commit fb2393e into master Sep 25, 2026
10 checks passed
@ararslan
ararslan deleted the aa/long-double branch September 25, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants