Replies: 2 comments
-
You are correct: these are low hanging fruit. Feel free to go ahead and open a PR if you want :) I suspect one reason it hasn't been done yet was that we were waiting on ways to call existing Lua stdlib functions (#594), or a proper module system, so the math lib could be a library instead of compiler intrinsics. Until now, we've added new math functions as the need for them came up (e.g. some benchmark asked for it). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the clarification @hugomg! I'm in crunch mode at work these weeks but I want to get on this when I emerge 😅 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm wondering why the trigonometric functions have (still) not been implemented. Are these
float -> float
(or maybefloat -> float -> float
foratan
) fundamentally different/trickier to implement than, e.g.,math.sqrt
ormath.fmod
?It seems these should be low-hanging fruit and allow some more applications of Pallene (certainly for me).
Beta Was this translation helpful? Give feedback.
All reactions