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

JuliaMath / Primes.jl / 128 / 6
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2017 09:59PM UTC
Files 1
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

17 Mar 2017 09:45PM UTC coverage: 95.858% (+0.4%) from 95.484%
128.6

push

travis-ci

ararslan
Lucas-Lehmer(-Riesel) with tests. (#29)

* Added Lucas-Lehmer(-Riesel) test with tests.

* Minor corrections on LLR.

* Improvements on LLR, as in #29.

- Avoided unnecessary code repetition of error throwing. (https://github.com/JuliaMath/Primes.jl/pull/29#discussion_r76874048)
- Change of docstring to a better formulated one. (https://github.com/JuliaMath/Primes.jl/pull/29#discussion_r76876500)

* Improvements on LLR, as in #29.

- Changed function names to `ismersenneprime` and  `isrieselprime`, for LL test and LLR test, respectively. (https://github.com/JuliaMath/Primes.jl/pull/29#issuecomment-243939288)
- Fixed code, which could result in overflow, by using `powermod`. (https://github.com/JuliaMath/Primes.jl/pull/29#discussion_r76948829)
- Avoided use of unnecessary but perhaps costly BigInt initialization. (https://github.com/JuliaMath/Primes.jl/pull/29#discussion_r76948238)
- Changed `n & 1 == 1` into `isodd(n)`, for simplicity. (https://github.com/JuliaMath/Primes.jl/pull/29#discussion_r76947826)

* Improvements, as in #29.

- Generalised LL and LLR tests into `isprime` and added common backend function.
- Added 4 new objects and 2 abstracts for better handling with Mersenne and Riesel numbers.
- Removed confusing comments.
- Fixed documentation.

* Improvements, as in #29.

- Fixed `export` statements. (https://github.com/JuliaMath/Primes.jl/pull/29#discussion_r77426386)
- Corrected various typos.

* Improvements, as in #29.

- Removed `Mersenne`, `Riesel`, `BigMersenne` and `BigRiesel`.
- Added `PrimeTest` enum for use with `isprime`.
- Renamed LL and LLR functions into `ismersenneprime` and `isrieselprime`, respectively.
- Corrected typos in `isprime` and elsewhere.

* Improvements, as in #29.

- Reversed test-choice prototyping.

* Improvements, as in #29.

- Improved `length(bin(X))` to `ndigits(X, 2)`. (https://github.com/JuliaMath/Primes.jl/pull/29#pullrequestreview-9357057)
- Removed prototype enum comment leftover. (https://github.com/JuliaMath/Primes.jl/pull/29#pullrequestreview-9357088)

162 of 169 relevant lines covered (95.86%)

17431308.91 hits per line

Source Files on job 128.6
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 128
  • Travis Job 128.6
  • ea282d35 on github
  • Prev Job for on master (#126.6)
  • Next Job for on master (#136.6)
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