Number constants

by Ricardo “Rudxain” Fernández Serrata

Version 1 (April 27, 2023)

Download (44 downloads)

Math and Number (float) constants other than Pi. Not including square roots and logarithms.

Calculate any logarithm: `log(x) / log(base)`

Any root: `pow(x, 1 / n)`

`exp(1) != Math["E"]`, because `exp` calculations are implementation-defined.
I 📋copy-pasted JS' `Math.E` because it seems more accurate.

ℹ:
docs.oracle.com/javase/7/docs/api/java/lang/Double.html

developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number

Tags: IEEE 754 double precision binary64

LICENSE: https://unlicense.org

4.0 average rating from 1 reviews

5 stars
0
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.