• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 9082707391
88%

Build:
DEFAULT BRANCH: main
Ran 14 May 2024 04:32PM UTC
Jobs 1
Files 833
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 May 2024 03:26PM UTC coverage: 89.645% (+0.04%) from 89.605%
9082707391

push

github

web-flow
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

2 of 2 new or added lines in 2 files covered. (100.0%)

4 existing lines in 1 file now uncovered.

62316 of 69514 relevant lines covered (89.65%)

230966.45 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
92.62
0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 9082707391.1 14 May 2024 04:32PM UTC 833
89.65
GitHub Action Run
Source Files on build 9082707391
  • Tree
  • List 833
  • Changed 31
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fe695946 on github
  • Prev Build on main (#9080271824)
  • Next Build on main (#9083265621)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc