calc icon indicating copy to clipboard operation
calc copied to clipboard

CLI calculator app and library

Results 8 calc issues
Sort by recently updated
recently updated
newest added

### my program and OS versions ``` $calc --version calc 0.3.0 $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy ```...

If you're doing a bunch of bit-twiddling, it's tedious to append `:09b_4` to every expression. Better to do `output :09b_4` and have it automatically apply to every subsequent expression unless...

It should be possible for us to parse evaluation type metadata in parallel with the expression itself and use that instead of a CLI switch. This will improve the usability...

Use case: ```sh $ calc "load $history_path; history" [0]: 1+1 2 [1]: 3*pi**2 29.608813203268074 $ calc "load $history_path; @ + 1; save $history_path" 30.608813203268074 ```

The parser should be able to evaluate commands like `help`, `help FOO`, `exit`, etc. `eval_and_print` should be able to delegate to appropriate command handlers in that case. Minimal commands necessary...

Add arbitrary precision integer support. - `bigint`: signed arbitrary-precision integer operations building on the [`num_bigint` crate](https://crates.io/crates/num_bigint)

We should allow both fixed and arbitrary precision rational support. - `rat64`: signed 64-bit rational operations building on the [`num_rational` crate](https://crates.io/crates/num_rational) - `bigrat`: signed arbitrary-precision rational operations building on the...

Allow arbitrary fixed-position decimal operations using the [`bigdecimal` crate](https://crates.io/crates/bigdecimal)`.