Crates.io | fend |
lib.rs | fend |
version | 1.5.5 |
source | src |
created_at | 2020-08-31 12:21:43.418537 |
updated_at | 2024-11-16 22:09:23.573343 |
description | Arbitrary-precision unit-aware calculator |
homepage | https://github.com/printfn/fend |
repository | https://github.com/printfn/fend |
max_upload_size | |
id | 283064 |
size | 84,191 |
fend is an arbitrary-precision unit-aware calculator.
Unique features:
See the manual for more information.
fend is available on the web at printfn.github.io/fend.
The easiest way to install fend locally is via your package manager:
Package Manager | Command |
---|---|
Homebrew | brew install fend |
MacPorts | sudo port install fend |
AUR (Arch Linux) | yay -Syu aur/fend-bin |
AOSC OS | oma install fend |
Xbps (Void Linux) | xbps-install fend |
Nix | nix-env -iA nixpkgs.fend |
Cargo | cargo install fend |
Windows Package Manager | winget install fend |
Chocolatey | choco install fend |
Scoop | scoop install fend |
Pkgx | pkgx fend |
Alternatively, you can manually download the latest stable binaries here.
Once fend is installed, run fend
to start a REPL session:
$ fend
> 1 ft to cm
30.48 cm
>
You can find the fend manual here.
> 5'10" to cm
177.8 cm
> cos (pi/4) + i * (sin (pi/4))
approx. 0.7071067811 + 0.7071067811i
> 0b1001 + 3
0b1100
> 0xffff to decimal
65535
> 100 C to F
210 °F
> temperature = 30 °C
30 °C
> temperature to °F
86 °F
> roll d20
8
> roll 4d6
17
These are some projects making use of fend:
Feel free to make a pull request to add your own!
fend is available under the MIT license. See LICENSE.md for more information.