effekt-lang / effekt

A language with lexical effect handlers and lightweight effect polymorphism
https://effekt-lang.org
MIT License
334 stars 24 forks source link

Implement missing math functions on the LLVM backend #608

Open jiribenes opened 2 months ago

jiribenes commented 2 months ago

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

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