The version 1.21.0 of the high-precision console scientific calculator has been released numbat, written in Rust and distributed under the MIT and/or Apache 2.0 licenses.
Key features of Numbat:
- full support for physical dimensions and units of measurement;
- a statically typed programming language for scientific computations;
- autocomplete for function names, units of measurement, and variables;
- input history search;
- a large set of built-in functions and constants: mathematical, date and time, string processing, and more.
- and much more.
Major changes in version 1.21.0:
- added functionality for calculating sunrises and sunsets (#818) and moon phases (#819);
- added the base_unit_of() function (#821);
- added more formatting options (#822);
- improved range limitations on errors (#823);
- allowed shadowing of function arguments and local variables (#824);
- updates for the Unix time precision added in the previous version in microseconds (#817).
Also from version 1.17.0 (last covered here), the following important changes have been made since the previous version 1.20.0:
- selection of the smaller unit during addition/subtraction;
- new conversion mechanism;
- added the parse<T: Dim>(input: String) -> T; function;
- added support for parsing dimensional quantities;
- added the args() function to access command line arguments;
- support for millisecond and microsecond precision for Unix time;
- added function parameters and local bindings to respective typed ‘holes’ (see. bug report) and documentation for them;
- added an example for tide charts;
- added the inspect function;
- type display in inspect calls;
- updated jiff to version 0.2.18;
- fixed the reset command in the CLI version;
- generic structures;
- Runge-Kutta method;
- generating a DivisionByZero error when raising zero to a negative power;
- added a build for aarch64-unknown-linux-musl;
- added ranges to RegistryErrors;
- added an alias for KB;
- added module links to the units list;
- Unicode input for the web version;
- multiple documentation updates;
- and much more.
Source: linux.org.ru
