Version 3.4.1 : Scientific mode, Float mode
Release Notes
This version implements the scientific mode and have revamped the float
displaying system.
It adds the toggle_float <normal|science|exact>
REPL command which changes the
float display.
In normal
mode the float is displayed with 10 decimal digits. Even when a
rational solution is available.
For example if you input
> 1/3
It displays
val: float = 0.3333333333
In exact
mode it displays
val: rational = 1/3
And in science
mode it displays
val: float = 3.333333333333*10⁻¹
Science mode prints with this pattern:
[0-9]*10^(([0-9]*)|(-[0-9]*))
Install mini-calc 3.4.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/3.4.1/mini-calc-installer.sh | sh
Download mini-calc 3.4.1
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |