- Create a website interface
- Add wasm version
- Switch to the
fastnumcrate's d128 - Fix
expfunction
- Remove the
degreeskeyword which referred tocelciusby default - Remove the
default_degreesargument fromeval()andlex(). Not necessary now that thedegreeskeyword is removed - Fix trigonometry imprecision
- Fix unnecessary scientific notation
- Fix negative unary
-always having higher precedence than^. This resulted in-3^2returning9instead of-9
- Fix automatic light year unit not chosen for large distances (@gcomte)
- Improve formatting of numbers
- Remove unnecessary dependencies (@jqnatividad)
- Add
marathonunit - Add
aarch64binaries
- Add support for data transfer rate units (like mb/s)
- Add support for dividing length by speed (like 10 km / 100 kph)
- Fix implicit start/end parentheses
- Add operator words
plus,minusandtimes - Add operator phrases
multiplied byanddivided by - Add operator symbol
÷ - Disallow named number followed by smaller named number (like 1 million thousand)
- Fix/improve parsing of multi-word units
- Fix light second parsed as light year
- Fix
Ωlexing - Fix lexing of rpm units
- Add support for non-US "metre" and "litre" spellings
- Add help menu
- Add
--versionflag - Freak out instead of ignoring unexpected arguments
- Print errors to STDERR
- Fix decimeter parsed as centimeter
- Fix numbers unnecessarily displayed in E notation
- Remove
TokenVectortype - Rename
--debugto--verboseand-v - Allow CLI flags before input
- Fix panic when input contains only whitespace and/or commas
- Fix d128 errors due to d128 error status not being cleared
- Fix panic when input is empty string
- Made cpc case insensitive
- Switch back to official
decimalbecause decimal#59 is fixed.
- Fix incorrect parsing of named numbers
Duodecillionand greater
- Fix spelling of
Celsius(@joseluis)
- Added unit of mass
Stone - Added keyword
pounds-force(used forPoundsPerSquareInch) - Fixed lexing of
Pound
- Added units of electric current
- Added units of voltage
- Added units of resistance
- Added support for
Voltage * ElectricCurrent - Added support for
Voltage / ElectricCurrent - Added support for
Voltage / Resistance - Added support for
Power / ElectricCurrent - Added support for
Power / Voltage - Added support for
Power * Time - Added support for
ElectricCurrent * Resistance - Added support for
Energy / Time - Fixed dividing a unit by
NoUnitresulting inNoUnit - Fixed interpreting of
µs - Fixed panics caused in Rust
1.48.0by switchingdecimaldependency todecimal_fixes_mirror
- Added units of frequency
- Added support using foot-inch syntax with addition, like
2"+6'4" - Unsupported foot-inch syntax like
(6)'4"and6'4!"now cause errors - Fixed README.md stating the performance is 1000x slower than it actually is
- Fixed trailing percentage signs being ignored when
allow_trailing_operatorsis true - Fixed error caused by consecutive percentage signs
- Fix parsing of unit
Quarter(@ethwu) - Use division instead of multiplication when dividing numbers of the same unit
Quarter(@ethwu)
- Fixed the library not working
- Added documentation comments
- Added docs.rs documentation link
- Various fixes and improvements
- Initial release