aspl-lang/aspl

math: add more constants

Aperta

#7 aperta il 11 feb 2025

 (3 commenti) (0 reazioni) (0 assegnatari)C (6 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (30 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

* Golden ratio, sqrt(2 and 3), ln(2), ... A lot of constants have already been implemented by @kelanialiyu in #15. Still, there's always room for more, which is why I'm leaving this issue open for now.

They can be implemented like pi and e using functions for now (although this is very inefficient and we should figure out a better solution soon).

Guida contributor