Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SignedFixedDecimal and UnsignedFixedDecimal #5667

Open
wants to merge 131 commits into
base: main
Choose a base branch
from

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    b5517cb View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. implement SignedDecimal

    younies committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c557cc0 View commit details
    Browse the repository at this point in the history
  2. Move important functions

    younies committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    89ee37f View commit details
    Browse the repository at this point in the history
  3. Fix most unsinged int issues

    younies committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    8194482 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ec4607 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    9c52868 View commit details
    Browse the repository at this point in the history
  2. fix fmt

    younies committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    f3a4e1e View commit details
    Browse the repository at this point in the history
  3. Add from_no_sign

    younies committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    0819754 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b292bc7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    797a27e View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    3488f02 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    efaeb0b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    d0378db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69f9a96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69a4602 View commit details
    Browse the repository at this point in the history
  4. Refactor decimal module and rounding logic: Make internal expansion a…

    …nd truncation methods public
    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    0170adf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eeb6c0b View commit details
    Browse the repository at this point in the history
  6. fix the write to

    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    b17592e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f98341e View commit details
    Browse the repository at this point in the history
  8. fix FrixedInteger

    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    6f4bfa1 View commit details
    Browse the repository at this point in the history
  9. fix decimal.rs

    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    6f6c68e View commit details
    Browse the repository at this point in the history
  10. fix fixed integer

    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    55a8074 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0f3b6e8 View commit details
    Browse the repository at this point in the history
  12. fix signed_rounding

    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    401a9fd View commit details
    Browse the repository at this point in the history
  13. fix rounding.rs

    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    6cd257b View commit details
    Browse the repository at this point in the history
  14. small fixes

    younies committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    87734ef View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    522969f View commit details
    Browse the repository at this point in the history
  2. Fix compact decimal

    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    2dab6ae View commit details
    Browse the repository at this point in the history
  3. update permyriad.rs

    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    6b2f7cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2900aa4 View commit details
    Browse the repository at this point in the history
  5. Fix from f64

    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f2a1d4a View commit details
    Browse the repository at this point in the history
  6. fix plurals

    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    94ed10f View commit details
    Browse the repository at this point in the history
  7. fix datetime.rs

    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    3c47291 View commit details
    Browse the repository at this point in the history
  8. Refactor CompactDecimalFormatter to use SignedFixedDecimal instead of…

    … UnsignedFixedDecimal
    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c7e0867 View commit details
    Browse the repository at this point in the history
  9. Refactor CompactDecimalFormatter to use SignedFixedDecimal instead of…

    … UnsignedFixedDecimal
    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    25af730 View commit details
    Browse the repository at this point in the history
  10. Refactor CompactDecimalFormatter to use SignedFixedDecimal instead of…

    … UnsignedFixedDecimal in LongFormattedCurrency
    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    b5eb957 View commit details
    Browse the repository at this point in the history
  11. Refactor CompactDecimalFormatter to use SignedFixedDecimal instead of…

    … UnsignedFixedDecimal in currency and unit formatters
    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c862d66 View commit details
    Browse the repository at this point in the history
  12. Refactor CompactDecimalFormatter to use SignedFixedDecimal instead of…

    … UnsignedFixedDecimal in relativetime format.rs and relativetime.rs
    younies committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    126eb14 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    6eed793 View commit details
    Browse the repository at this point in the history
  2. Refactor variable name in Signed struct

    The variable name `value` in the `Signed` struct has been renamed to `absolute` to better reflect its purpose.
    younies committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    ca17e08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    853b39b View commit details
    Browse the repository at this point in the history
  4. Refactor FFI fixed decimal

    younies committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    62d40a8 View commit details
    Browse the repository at this point in the history
  5. Fix other places

    younies committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    b4ad9f4 View commit details
    Browse the repository at this point in the history
  6. Refactor PluralOperands creation to use SignedFixedDecimal instead of…

    … UnsignedFixedDecimal
    younies committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    b94836c View commit details
    Browse the repository at this point in the history
  7. Refactor variations.rs: Remove unused structs WithCompactExponent and…

    … WithScientificExponent
    younies committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    a9fe703 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Refactor variations.rs: comment unused structs WithCompactExponent an…

    …d WithScientificExponent
    younies committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    86ec2b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b8bb6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b69db8b View commit details
    Browse the repository at this point in the history
  4. Refactor variations.rs: comment unused structs WithCompactExponent an…

    …d WithScientificExponent
    younies committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    6d75608 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8d2300e View commit details
    Browse the repository at this point in the history
  6. Use DeRef and DeRefMut

    younies committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    b8c65fb View commit details
    Browse the repository at this point in the history
  7. remove

    younies committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    25b6944 View commit details
    Browse the repository at this point in the history
  8. Refactor signed_decimal.rs: Remove unused methods and add TODOs

    Refactor variations.rs: Add sign-related methods to Signed struct
    younies committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    18f9cdf View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    9e8f306 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    a458474 View commit details
    Browse the repository at this point in the history
  2. Refactor signed to delete multipy pow10 and rounding tests to use mul…

    …tiply_pow10 method directly
    younies committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    286e071 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ddfb1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4d404e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6de5ad7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    058a6ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65c96d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8467ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d34dd3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    473df73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f0af932 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    df26d31 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b863dea View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c593589 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    dd16268 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89b6913 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    047e075 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4c99f1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d495f1b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    37f832f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a06ffa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    558087b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3ed6989 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5a3e800 View commit details
    Browse the repository at this point in the history
  11. Update UnsignedFixedDecimal documentation examples for clarity and re…

    …move outdated rounding examples
    younies committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    37658c8 View commit details
    Browse the repository at this point in the history
  12. Refactor UnsignedFixedDecimal documentation: update examples for clar…

    …ity, remove outdated rounding examples, and add new parsing example
    younies committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    901934d View commit details
    Browse the repository at this point in the history
  13. Update documentation for FixedDecimal: clarify API usage and examples…

    … for SignedFixedDecimal
    younies committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    391807d View commit details
    Browse the repository at this point in the history
  14. Update examples in SignedRoundingMode documentation to use SignedFixe…

    …dDecimal and SignedRoundingMode
    younies committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    5427740 View commit details
    Browse the repository at this point in the history
  15. Update documentation examples in SignedFixedDecimal to use SignedFixe…

    …dDecimal and UnsignedRoundingMode
    younies committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    66f3dd6 View commit details
    Browse the repository at this point in the history
  16. Refactor ScientificDecimal to use SignedFixedDecimal instead of Unsig…

    …nedFixedDecimal and fix tests
    younies committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    34daff2 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    840f41f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    09fc8d8 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ccfcfa7 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1565d37 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    e808318 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    89ab41b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b717350 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    aefe9f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ad972d View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Configuration menu
    Copy the full SHA
    a40bd1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8678e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d05ac2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    922d8c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e512ee View commit details
    Browse the repository at this point in the history
  6. fix fmt

    younies committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    62f7a79 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eafd3e6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ee39ebe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0b09f57 View commit details
    Browse the repository at this point in the history
  10. Update documentation to reference UnsignedFixedDecimal and SignedFixe…

    …dDecimal consistently
    younies committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    f2ce7ef View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    5f522c6 View commit details
    Browse the repository at this point in the history
  2. Refactor rounding mode definitions: remove unused files and introduce…

    … FixedDecimalSignedRoundingMode
    younies committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    43199ae View commit details
    Browse the repository at this point in the history
  3. fix fmt

    younies committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    459a608 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c68e117 View commit details
    Browse the repository at this point in the history
  5. Introduce a constructor for SignedFixedDecimal and refactor its usage…

    … in FormattedDuration
    younies committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    989224e View commit details
    Browse the repository at this point in the history
  6. cargo make diplomat-coverage

    younies committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    6661a58 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Configuration menu
    Copy the full SHA
    ac916bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d98a628 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    630ee22 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2156d7f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    772c685 View commit details
    Browse the repository at this point in the history
  6. Update documentation to replace FixedDecimal with SignedFixedDecimal …

    …in HeterogenousToFormatter
    younies committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    5217ac0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    226616e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d4b32f View commit details
    Browse the repository at this point in the history
  9. Replace SignedFixedDecimalFormatter references with FixedDecimalForma…

    …tter in JS tiny loader
    younies committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    c11070c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    24dbcb4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b9a202d View commit details
    Browse the repository at this point in the history
  12. Refactor documentation for SignedFixedDecimal to enhance clarity and …

    …remove redundant sections
    younies committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    a696144 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Configuration menu
    Copy the full SHA
    def35eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    accee4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    236de88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e38f7b6 View commit details
    Browse the repository at this point in the history
  5. Add missing API entries for SignedFixedDecimal and UnsignedFixedDecim…

    …al to the documentation
    younies committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9b56fa5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a50c928 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    87dfd16 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2dd420f View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. Configuration menu
    Copy the full SHA
    98e0518 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff7706c View commit details
    Browse the repository at this point in the history