Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement missing math functions on the LLVM backend #608

Open
8 tasks
jiribenes opened this issue Sep 25, 2024 · 0 comments
Open
8 tasks

Implement missing math functions on the LLVM backend #608

jiribenes opened this issue Sep 25, 2024 · 0 comments

Comments

@jiribenes
Copy link
Contributor

jiribenes commented Sep 25, 2024

The following math functions/values in libraries/common/effekt.effekt are not implemented in the LLVM backend yet:

  • cos: Double => Double
  • sin: Double => Double
  • atan: Double => Double
  • tan: Double => Double
  • log: Double => Double
  • log1p: Double => Double
  • exp: Double => Double
  • _pi: Double

See #606 on how to do this, don't forget to add tests (or re-enable tests ignored on the LLVM backend).
Here's the list of all LLVM intrinsics: https://llvm.org/docs/LangRef.html#standard-c-c-library-intrinsics

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

No branches or pull requests

1 participant