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

JuliaMath / Primes.jl / 293 / 4
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2019 08:42PM UTC
Files 2
Run time 0s
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

25 Aug 2019 08:39PM UTC coverage: 99.138% (+0.9%) from 98.286%
293.4

push

travis-ci

ararslan
Add an option to specify the increment to use when searching for primes (#71)

A common operation in cryptography is to want to find a prime `p`
such that some `n` divides `p-1`. This is accomplished by starting
at some value `q` which `n` divides and then proceeding in increments
of `n` rather than increments of `1` until a prime is found. To enable
this procedure, add a keyword argument to `nextprime`/`prevprime` that
lets the user specify the desired increment.

Also, while we're at it, speed up the default `prevprime` case for larger
values by proceeding in increments of `2`.

230 of 232 relevant lines covered (99.14%)

18918942.57 hits per line

Source Files on job 293.4
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 278
  • Travis Job 293.4
  • 4deaf526 on github
  • Prev Job for on master (#286.1)
  • Next Job for on master (#311.1)
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