| Crates.io | calcula |
| lib.rs | calcula |
| version | 0.1.0 |
| created_at | 2025-04-02 20:59:59.457349+00 |
| updated_at | 2025-04-02 20:59:59.457349+00 |
| description | A simple calculator library and command-line app |
| homepage | |
| repository | https://github.com/caydenlund/calcula |
| max_upload_size | |
| id | 1617189 |
| size | 26,178 |
calculaA simple calculator library and command-line app.
Gets input with rustyline, so emacs-style shortcuts are supported (Ctrl-A to move to the beginning of the line, Ctrl-E to move to the end of the line, Ctrl-U to clear, etc.).
See their linked GitHub page for more information.
i32, u8, f64, etc.)pi and operations like sin(2.0) sqrt(7.0)0xFF, 0b1010, 0o777 etc.):binary for printing as binary, :hex for printing as hex, :type for printing a variable's type, etc.(0b1010 << 2) | 0b11)Licensed under Apache 2.