We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71ef69 commit f74f6e8Copy full SHA for f74f6e8
library/core/src/num/dec2flt/decimal_seq.rs
@@ -159,6 +159,8 @@ impl DecimalSeq {
159
160
#[safety::loop_invariant(self.num_digits <= Self::MAX_DIGITS && self.decimal_point <= self.num_digits as i32)]
161
while n > 0 {
162
+ //true but hard to write proof with kani currently
163
+ kani::assume(write_index > 0);
164
write_index -= 1;
165
let quotient = n / 10;
166
let remainder = n - (10 * quotient);
0 commit comments