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

JuliaLang / julia / #37692
77%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2024 11:18AM UTC
Jobs 1
Files 340
Run time 26s
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 Feb 2024 04:07AM UTC coverage: 86.768% (-0.5%) from 87.273%
#37692

push

local

web-flow
Throw OverflowError on `copysign(typemin(Int)//1, 1)` (#53395)

The default `copysign(x::Real, y::Real)` in `number.jl` works, so the
incorrect method in `rational.jl` isn't needed.

Here is a benchmark of the new version.
```julia
using BenchmarkTools
function foo!(c,a,b) 
    c .= copysign.(a, b)
    nothing
end
N = 1000
@btime foo!(c,a,b) setup=(c=zeros(Rational{Int},N); a=rand(Int,N).//rand(Int,N); b=fill(-1,N))
```
On master: 406.215 ns (0 allocations: 0 bytes)
On this PR: 869.327 ns (0 allocations: 0 bytes)

75832 of 87396 relevant lines covered (86.77%)

15526410.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37692.1 21 Feb 2024 11:18AM UTC 0
86.77
Source Files on build #37692
Detailed source file information is not available for this build.
  • Back to Repo
  • 9d896dc9 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