Ph0enixKM / Amber

💎 Amber the programming language compiled to bash
https://amber-lang.com
GNU General Public License v3.0
3.51k stars 67 forks source link

✨ Proposal for Comprehensive Mathematical Module in Amber #189

Open Ph0enixKM opened 2 weeks ago

Ph0enixKM commented 2 weeks ago

We could start with a mininal version of such library and then we could extend it with other functions. Some of the most important ones could be the following:

Rounding

Absolute and sign

Min / Max

Optional: Power, root, exponential, logarithms and trigonometric

These can be easily evaluated using bc with flag -l

FedericoCeratto commented 1 week ago

(perhaps exp, log, sin/cos, tan are not necessary)

Ph0enixKM commented 1 week ago

You're right @FedericoCeratto. That's not the most important thing right now