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

JuliaMath / Primes.jl / 128
96%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2017 09:47PM UTC
Jobs 6
Files 1
Run time 12min
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

pending completion
128

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)

165 of 169 relevant lines covered (97.63%)

124634779.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 128.1 17 Mar 2017 09:49PM UTC 0
97.63
Travis Job 128.1
2 128.2 17 Mar 2017 09:48PM UTC 0
95.86
Travis Job 128.2
3 128.3 17 Mar 2017 09:47PM UTC 0
95.86
Travis Job 128.3
4 128.4 17 Mar 2017 09:59PM UTC 0
97.63
Travis Job 128.4
5 128.5 17 Mar 2017 09:59PM UTC 0
95.86
Travis Job 128.5
6 128.6 17 Mar 2017 09:59PM UTC 0
95.86
Travis Job 128.6
Source Files on build 128
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #128
  • ea282d35 on github
  • Prev Build on master (#126)
  • Next Build on master (#136)
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