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

Qiskit / qiskit / 9082717775
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: patch-lcov-errors
DEFAULT BRANCH: main
Ran 14 May 2024 04:31PM UTC
Jobs 1
Files 832
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 04:16PM UTC coverage: 89.637% (-0.003%) from 89.64%
9082717775

Pull #12400

github

mergify[bot]
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)
Pull Request #12400: Handle huge integers in OpenQASM 2 expression evaluator (backport #12140)

62261 of 69459 relevant lines covered (89.64%)

230156.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9082717775.1 14 May 2024 04:31PM UTC 0
89.64
GitHub Action Run
Source Files on build 9082717775
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #12400
  • PR Base - stable/1.1 (#9082210021)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc