govaluate
govaluate copied to clipboard
Exponential literals
govaluate currently doesn't seem to support exponential literals (e.g., 1e5, 1e-3).
It doesn't support them in such a format, but the result of 1e5 (100,000) can be expressed as 10**5, where ** is the exponentiation operator. Internally, the operation is elided to be a single literal (100,000), and ends up the same as you'd expect.
I could envision adding support, but it would be a little awkward to do so at the current moment.