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

Qiskit / qiskit / 9084983268
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-15492-826b4f18e062c7303ce5422da7eb54a6c10d857c
DEFAULT BRANCH: main
Ran 14 May 2024 07:37PM UTC
Jobs 1
Files 1282
Run time 3min
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 06:12PM UTC coverage: 86.624% (-0.3%) from 86.877%
9084983268

push

github

web-flow
Handle huge integers in OpenQASM 2 expression evaluator (#12140) (#12401)

* 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)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

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

22 existing lines in 3 files now uncovered.

67172 of 77544 relevant lines covered (86.62%)

112126.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9084983268.1 14 May 2024 07:37PM UTC 0
86.87
GitHub Action Run
Source Files on build 9084983268
Detailed source file information is not available for this build.
  • Back to Repo
  • 5c927a80 on github
  • Prev Build on gh-readonly-queue/stable/0.46/pr-12301-54a006e71db915992a5df8a69af5e6a2f3561513 (#8848126948)
  • Next Build on stable/0.46 (#9162412942)
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

© 2026 Coveralls, Inc