DK96-OS / MathTools

Mathematical Software Components. This library is actively maintained, and aims to stay updated. New feature proposals are welcome, but may not be included.
Apache License 2.0
2 stars 1 forks source link

Lists Number Comparisons and Conversions #82

Closed DK96-OS closed 2 years ago

DK96-OS commented 2 years ago

Add Number Comparison functions for Integer and Long types.

Addresses #66 but does not completely resolve it.

DK96-OS commented 2 years ago

The NumberComparison methods involving Integer and Long offer more precision than Float or Double. Thus, the code that attempts to check the length of strings before comparing the strings is not useful. The branches cannot be reached, and so should be removed.

These branches have no use at the moment, except to potentially support a non-standard Number implementation. The library does not plan to support non-standard Number implementations at this time.