Releases: Rockhopper-Technologies/prefixed
Releases · Rockhopper-Technologies/prefixed
0.9.0
Changes
- The micro symbol ('µ'), U+00B5, is now accepted as a valid prefix when creating
prefixed.Float
objects from strings- Output will still use the lowercase Greek letter mu ('μ'), U+03BC
- This complies with the preference defined in Unicode Technical Report #25 section 2.5
- A note was added to the documentation for reference
0.8.0
0.7.1
0.7.0
0.6.0
Changes
-
Consistent behavior for
!
flag- The
!
flag used to drop the space when no prefix was added to the output - This created issues in cases like
f'{Float(123):!.3H}J'
#4 !
will now always add a space after the number
- The
-
New flag
!!
- The new flag
!!
operates like!
, adding a space between the number and the prefix !!
will drop the space if no prefix is added to the number- See the documentation for more information
- The new flag
0.5.0
Changes
-
Add new SI prefixes
Prefix Name Base Q quetta 10³⁰ R ronna 10²⁷ r ronto 10⁻²⁷ q quecto 10⁻³⁰
Bugfixes
- In some circumstances significant digits were one decimal place off
- Caused by floating point variance
- Value is now constrained prior to determining significant digits
0.4.2
0.4.1
0.4.0
Changes
- Add Significant digit support
'H'
(SI),'K'
(IEC), and'M'
(IEC short) presentation types treat precision as significant digits- Trailing zeros are dropped by default, use
'#'
to preserve
'j'
(IEC) presentation type replaced with'k'
'j'
still works, but is deprecated
'J'
(IEC short) presentation type replaced with'm'
'J'
still works, but is deprecated
- Dropped support for Python 3.4
Housekeeping
- Moved to GitHub Actions
- Rename master to main