Skip to content

added _Complex floating point routines#740

Open
ZERICO2005 wants to merge 1 commit intomasterfrom
complex_crt
Open

added _Complex floating point routines#740
ZERICO2005 wants to merge 1 commit intomasterfrom
complex_crt

Conversation

@ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Mar 8, 2026

When compiling libcxx 19, I noticed that libcalls to __divsc3 et al were emitted. These follow the C calling convention by default. I have provided a basic C implementation of these complex floating point routines so users will not get a linker error.

The code also works on ez80-clang 15.0.0 so these can be back-ported if needed.
https://godbolt.org/z/daT41YeKP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant