ckormanyos / wide-integer

Wide-Integer implements a generic C++ template for uint128_t, uint256_t, uint512_t, uint1024_t, etc.
Boost Software License 1.0
188 stars 31 forks source link

Implement and test from_chars() #400

Closed ckormanyos closed 9 months ago

ckormanyos commented 9 months ago

In this PR, we handle implementation and test of from_chars(), as discussed in #398.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (df1fa53) 100.0% compared to head (7183be8) 100.0%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400/graphs/tree.svg?width=650&height=150&src=pr&token=kiBP4MAjdV&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos)](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos) ```diff @@ Coverage Diff @@ ## master #400 +/- ## ======================================= Coverage 100.0% 100.0% ======================================= Files 39 39 Lines 3600 3604 +4 ======================================= + Hits 3600 3604 +4 ``` | [Files](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos) | Coverage Δ | | |---|---|---| | [math/wide\_integer/uintwide\_t.h](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-bWF0aC93aWRlX2ludGVnZXIvdWludHdpZGVfdC5o) | `100.0% <100.0%> (ø)` | | | [test/test.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-dGVzdC90ZXN0LmNwcA==) | `100.0% <ø> (ø)` | | | [test/test\_uintwide\_t\_edge\_cases.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-dGVzdC90ZXN0X3VpbnR3aWRlX3RfZWRnZV9jYXNlcy5jcHA=) | `100.0% <100.0%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos). Last update [df1fa53...7183be8](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/400?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos).
sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud