eva icon indicating copy to clipboard operation
eva copied to clipboard

a calculator REPL, similar to bc(1)

Results 22 eva issues
Sort by recently updated
recently updated
newest added

> `term_size` is unmaintained; use `terminal_size` instead | Details | | | ------------------- | ---------------------------------------------- | | Status | unmaintained | | Package | `term_size` | | Version | `0.3.2`...

…, side effects include precision loss and error handling of any overflows being improved

https://github.com/matklad/minipratt/blob/master/src/bin/shunting-yard.rs seemed interesting, I wonder if we can replace parser with that.

question

It would be nice if the calcul is larger than the size of f64 it display the exact value

Hi! Less words, more example. When I'm trying to add up `41.90 + 91.90 + 209 + 249` eva gave a `591.7999999999`, although I expected `591.80`.

bug
enhancement
hacktoberfest

Enable usage in other areas other than the command line like web assembly and other areas, like embedded calculators

enhancement

I believe it's been a year since we last release. We probably want to do a release.

Functions like (sum, avg, etc.) over entire history of results. `sum(*)` (or any other special character) should produce the sum of all results in the current session. Or the way...

enhancement

Add a basic let syntax for simple mathematical functions. Proposed EBNF: ``` expr ::= NUMBER | NAME | NAME '(' args? ')' | 'let' NAME+ '=' expr 'in' expr args...

enhancement
help wanted

[`ln(-1) = πi`](https://www.google.com/search?q=ln+-1&oq=ln+-1&aqs=chrome.0.69i59.1105j0j1&sourceid=chrome&ie=UTF-8) [`sqrt(-4) = 2i`](https://www.google.com/search?q=sqrt+-4&oq=sqrt+-4&aqs=chrome.0.69i59.1799j0j1&sourceid=chrome&ie=UTF-8)

enhancement
help wanted