about summary refs log tree commit diff
path: root/library/coretests/tests/num/dec2flt
AgeCommit message (Collapse)AuthorLines
2025-07-23coretests/num: use ldexp instead of hard-coding a power of 2Ralf Jung-6/+5
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-2/+2
2025-06-03Enable Float non-determinism in miri. Update and add tests and changeLorrensP-2158466-2/+4
change tests in std, core and coretests.
2025-05-18float: Add tests for `f16` conversions to and from decimalTrevor Gross-42/+233
Extend the existing tests for `f32` and `f64` with versions that include `f16`'s new printing and parsing implementations. Co-authored-by: Speedy_Lex <alex.ciocildau@gmail.com>
2025-03-02dec2flt: Refactor float traitsTrevor Gross-0/+61
A lot of the magic constants can be turned into expressions. This reduces some code duplication. Additionally, add traits to make these operations fully generic. This will make it easier to support `f16` and `f128`.
2025-03-02dec2flt: Rename fields to be consistent with documented notationTrevor Gross-6/+6
2025-03-02dec2flt: Rename `Number` to `Decimal`Trevor Gross-13/+42
The previous commit renamed `Decimal` to `DecimalSeq`. Now, rename the type that represents a decimal floating point number to be `Decimal`. Additionally, add some tests for internal behavior.
2025-03-02dec2flt: Rename `Decimal` to `DecimalSeq`Trevor Gross-0/+31
This module currently contains two decimal types, `Decimal` and `Number`. These names don't provide a whole lot of insight into what exactly they are, and `Number` is actually the one that is more like an expected `Decimal` type. In accordance with this, rename the existing `Decimal` to `DecimalSeq`. This highlights that it contains a sequence of decimal digits, rather than representing a base-10 floating point (decimal) number. Additionally, add some tests to validate internal behavior.
2025-01-26Put all coretests in a separate cratebjorn3-0/+392