summaryrefslogtreecommitdiff
path: root/src/main/java/sevenUnits/unit/LinearUnitValue.java
AgeCommit message (Collapse)Author
2025-05-17Setup automated javadocAdrien Hopkins
./gradlew javadoc
2025-03-07convertToMulti: Compare unit bases to this.baseAdrien Hopkins
This is a necessary precondition for the conversion methods used later on in convertToMutliple, and it is simpler than the existing method. I can also be sure it works, due to the tests I just wrote.
2024-08-22Add 1e-12 to unit sum parts before flooringAdrien Hopkins
This ensures that small errors from floor arithmetic will not, for example, cause 2 feet to be converted to 1 foot + 12 in.
2024-08-22Allow fractional exponentsAdrien Hopkins
2024-08-22Add ability to convert expression to sum of unitsAdrien Hopkins
2024-03-24Format source code & set explicit UTF-8Adrien Hopkins
2022-04-18Implemented rounding and duplicate-removal settings into the new GUIAdrien Hopkins
2021-11-04Added a bunch of tests related to unit valuesAdrien Hopkins
2021-09-27Added a test for evaluating an expression & fixed a bug it foundAdrien Hopkins
The bug: non-exact LinearUnitValue instances have their value printed as "(", i.e. "(5.0 ± 0.1) m" will be printed as "( m"
2021-08-26Added units and dimensions to the design documentAdrien Hopkins
2021-08-07Renamed sevenUnits.math to sevenUnits.utilsAdrien Hopkins
2021-06-28Renamed project to 7UnitsAdrien Hopkins