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

Constexpr cleanup #403

Closed ckormanyos closed 9 months ago

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (f6a4127) 100.0% compared to head (bbe418d) 100.0%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403/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/403?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 #403 +/- ## ======================================= Coverage 100.0% 100.0% ======================================= Files 39 39 Lines 3604 3604 ======================================= Hits 3604 3604 ``` | [Files](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos) | Coverage Δ | | |---|---|---| | [examples/example000\_numeric\_limits.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwMF9udW1lcmljX2xpbWl0cy5jcHA=) | `100.0% <ø> (ø)` | | | [examples/example000a\_builtin\_convert.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwMGFfYnVpbHRpbl9jb252ZXJ0LmNwcA==) | `100.0% <ø> (ø)` | | | [examples/example001\_mul\_div.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwMV9tdWxfZGl2LmNwcA==) | `100.0% <ø> (ø)` | | | [examples/example001a\_div\_mod.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwMWFfZGl2X21vZC5jcHA=) | `100.0% <ø> (ø)` | | | [examples/example002\_shl\_shr.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwMl9zaGxfc2hyLmNwcA==) | `100.0% <ø> (ø)` | | | [examples/example003\_sqrt.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwM19zcXJ0LmNwcA==) | `100.0% <ø> (ø)` | | | [examples/example003a\_cbrt.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwM2FfY2JydC5jcHA=) | `100.0% <ø> (ø)` | | | [examples/example004\_rootk\_pow.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwNF9yb290a19wb3cuY3Bw) | `100.0% <ø> (ø)` | | | [examples/example005\_powm.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwNV9wb3dtLmNwcA==) | `100.0% <ø> (ø)` | | | [examples/example005a\_pow\_factors\_of\_p99.cpp](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos#diff-ZXhhbXBsZXMvZXhhbXBsZTAwNWFfcG93X2ZhY3RvcnNfb2ZfcDk5LmNwcA==) | `100.0% <ø> (ø)` | | | ... and [27 more](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?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/403?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Christopher+Kormanyos). Last update [f6a4127...bbe418d](https://app.codecov.io/gh/ckormanyos/wide-integer/pull/403?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
3.8% Duplication on New Code

See analysis details on SonarCloud

ckormanyos commented 9 months ago

Fix #402 clean up constexpr-ness