Repository navigation
v0.7.1
Added
- Accept a single exact spelling string for
prefixable, equivalent to a
one-element tuple, with the same spelling validation before registration. - Expand the
sinamespace's prefixed shortcuts and common units, including
percent, permille, permyriad, rotational frequency (rpm), speed of light
(c), gram-force, volt-ampere, ampere-hour, mho, and nit. Enable Torr prefixes. - Add
SI.kappaand the wavelength and frequency Wien displacement constants,
SI.bandSI.b_.
Changed
- Use fixed Decimal approximations with about 50 significant digits for pi and
the positive roots in the Wien displacement laws. Derived constants still use
the Decimal context active at import. - Treat
uandDaas spellings of one formal unit, with prefixes enabled only
onDa. Rebuild stored units when migrating from the separateuidentity;
the mass conversion scale is unchanged. UsekDarather thankilodalton. - Keep ASCII micro spellings such as
umandusconvenient to type without
warnings. The explicit productu mretains its separate mass-times-length
meaning.
Full changelog: v0.7.0...v0.7.1