Releases: kasper9n/cpc
Releases · kasper9n/cpc
Release list
v4.2.0
- Add ambiguous unit resolution depending on context and user locale.
- Add ambiguous units like
pound,deg,$andkr - Add currency symbols like
€andkr - Add
asandintokeywords for unit conversion - Fix some units not being simplified
v4.1.0
v4.0.0
- Rewrite units to be exponent-based, making things like
km^5andsqkm^-1possible - Add generic unit multiplication and division, such as
1kg/1mand1m*1kg - Add generic unit combinations, such as
1kg/m,1km per yearandm+km - Add generic unit simplification. For example,
1kg*1sqm/1s/1s/1s/1anow becomes1 volt - Add
≈indicator when a result is approximate - Add case-sensitive
Bpsunits for bytes per second - Use max precision for inexact unit conversions
- Fix
^allowing numbers to be raised to the power of units
v3.1.0
v3.0.0
- Create a website interface
- Add wasm version
- Switch to the
fastnumcrate's d128 - Fix
expfunction
v2.0.0
v1.9.3
- Fix negative unary
-always having higher precedence than^. This resulted in-3^2returning9instead of-9
v1.9.2
- Fix automatic light year unit not chosen for large distances (@gcomte)
v1.9.1
- Improve formatting of numbers
- Remove unnecessary dependencies (@jqnatividad)
v1.9.0
- Add
marathonunit - Add
aarch64binaries