fend 0.1.1

Calculator and unit conversion tool
fend-0.1.1 is not a library.

Fend

Build Status crates.io downloads docs.rs

Fend is an arbitrary-precision unit-aware calculator.

Unique features:

  • Arbitrary-precision arithmetic using rational numbers
  • Support for complex numbers
  • Binary, octal, hexadecimal and all other bases between 2 and 36.
  • Keeps track of units, with support for SI and US customary units.
  • Support for Emacs-style CLI shortcuts
  • Trigonometric functions

See the manual for more information.

Installation

Install fend by running cargo install fend in your terminal.

You can then run fend to start a REPL session:

$ cargo install fend
...
$ fend
> 1 + 1
2
>

Manual

You can find the Fend manual here.

Examples

> 5'10" to cm
177.8 cm
> cos (pi/4) + (sin (pi/4)) i
approx. 0.7071067811 + 0.7071067811i
> 0b1001 + 3
0b1100
> 1 light year to parsec
approx. 0.3066013937 parsec

Changelog

See here: https://github.com/printfn/fend-rs/blob/main/CHANGELOG.md

License

Fend is MIT-licensed. See LICENSE.md for more information.