Ran
|
Jobs
1
|
Files
1282
|
Run time
3min
|
Badge
Embed ▾
README BADGES
|
github
Handle huge integers in OpenQASM 2 expression evaluator (#12140) * Handle huge integers in OpenQASM 2 expression evaluator This modifies the expression evaluator to directly parse the backing string data of an integer token in a floating-point context, which lets us handle numbers that would otherwise overflow a `usize`. It's possible for this to be totally valid, if, for example, the integer is a multiple of some very large power of two that doesn't overflow a double-precision float. We already needed to immediately cast the integer to a float, so this is just a more accurate way of doing the evaluation, and doesn't affect when we use integers in other contexts. * Clarify int/float split (cherry picked from commit fe6959469)
2 of 2 new or added lines in 2 files covered. (100.0%)
22 existing lines in 3 files now uncovered.74993 of 86338 relevant lines covered (86.86%)
100712.86 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
97.52 |
-0.18% | crates/accelerate/src/sabre_swap/mod.rs |
3 |
92.88 |
1.02% | crates/qasm2/src/lex.rs |
18 |
96.23 |
-0.92% | crates/qasm2/src/parse.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 9082848530.1 | 1282 |
86.86 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|