dependabot[bot] opened a new pull request, #315: URL: https://github.com/apache/avro-rs/pull/315
Bumps [bigdecimal](https://github.com/akubera/bigdecimal-rs) from 0.4.8 to 0.4.9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/akubera/bigdecimal-rs/releases">bigdecimal's releases</a>.</em></p> <blockquote> <h2>v0.4.9</h2> <h2>Changes</h2> <ul> <li> <p>Add methods <code>BigDecimal::{powi, powi_with_context}</code> for raising a decimal to a i64 power</p> <ul> <li>the <code>powi</code> uses Default Context</li> </ul> </li> <li> <p>Add methods <code>BigDecimal::mul_with_context</code> for efficient multiplication to fixed precision</p> <ul> <li>uses precision and rounding-mode in the Context</li> </ul> </li> <li> <p>Add method <code>BigDecimal::decimal_digit_count</code>, returning number of decimal digits (i.e. precision) of the number</p> </li> <li> <p>Add method <code>BigDecimal::order_of_magnitude</code>, returning position of most significant digit of this decimal</p> </li> <li> <p>Add method <code>BigDecimal::is_one_quickcheck</code>, returning <code>Option<bool></code> indicating if the value is <code>1.0</code> if it can be calculated without allocating, or None if too large</p> <ul> <li>Replaced <code>is_one</code> in multiplication methods when used for optimizations <ul> <li>Should test if that actually speeds it up</li> </ul> </li> <li>Eg value <code>1.00000000000000000000000000000000000000000</code> is stored internally as <code>[4870020673419870208, 16114848830623546549, 293] E -41</code> and it's hard to tell this is equivalent to 1</li> </ul> </li> <li> <p>Add optimizations to inverse</p> <ul> <li>small powers of ten will simply flip their scale <code>1/10e-5 -> 10e5</code></li> <li>convert to f64 to make initial guess when before iterative algorithm</li> </ul> </li> <li> <p>Add <code>Context::invert(&self, BigDecimalRef)</code>, equivalent to <code>BigDecimal::inverse_with_context(&self, &ctx)</code></p> <ul> <li>Still has a bug where rounding ignores sign, affecting floor/ceiling modes</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/51a1fbadd1c42eab283a56f26f7eb74a1fa71586"><code>51a1fba</code></a> v0.4.9</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/deff05952c735fe6fb84244f6ac74bc296ced8d9"><code>deff059</code></a> Version 0.4.9</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/bdab3a7f232b955b7e21663b54cdaee71bce2cb7"><code>bdab3a7</code></a> Remove blanket allow(dead_code)</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/f2cf07da32170442b872fddd1ba34ea5aaf5ba02"><code>f2cf07d</code></a> Merge implementation of powi into trunk</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/9694c91ffe3d449bd1a9039692296a8320534def"><code>9694c91</code></a> Add more pow test cases</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/a69eabe399421c0cc939aec31add55db61a9e761"><code>a69eabe</code></a> Clear <code>tmp</code> vector after use in DigitVec::from_biguint_using_tmp</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/a1237bd7e661542c65549587326dc0edba39f5e0"><code>a1237bd</code></a> Invert before calling pow_u64</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/372c09479668cefc750f11dcacbd1c9071ffc3fb"><code>372c094</code></a> Add new_truncating constructor for Context</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/f9e8435b9c10f0f724f126b299845806c209dad3"><code>f9e8435</code></a> Split BigDecimalRef conversions into separate function for multiply_decimal_w...</li> <li><a href="https://github.com/akubera/bigdecimal-rs/commit/555c6f31e3ca6ce30d65430cdc6dc6beda90d4d1"><code>555c6f3</code></a> Add function get_power_of_ten_u64 to arithmetic::decimal</li> <li>Additional commits viewable in <a href="https://github.com/akubera/bigdecimal-rs/compare/v0.4.8...v0.4.9">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
