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

JuliaLang / julia / #37659
77%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2023 01:27PM UTC
Jobs 1
Files 339
Run time 6s
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

21 Oct 2023 08:20PM UTC coverage: 86.179% (-1.3%) from 87.459%
#37659

push

local

web-flow
Throw OverflowError on typemin(Int)//(-1) (#51085)

Fixes #32443

Currently `typemin(Int)//(-1) == typemin(Int)//(1)`, ignoring an
overflow.

As noted by @JeffreySarnoff in
[#32443](https://github.com/JuliaLang/julia/issues/32443#issuecomment-506816722)
This should throw an error instead of silently overflowing.

To fix this I am using `checked_neg` instead of `-` in the Rational
constructor.

With this PR `(-one(T))//typemin(T)` will now also throw an
`OverflowError` instead of an `ArgumentError`

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

72449 of 84068 relevant lines covered (86.18%)

12247769.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37659.1 22 Oct 2023 01:27PM UTC 0
86.18
Source Files on build #37659
Detailed source file information is not available for this build.
  • Back to Repo
  • fb01dd28 on github
  • Prev Build on master
  • Next Build on master
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