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

gonum / mathext / 87
88%
master: 86%

Build:
Build:
LAST BUILD BRANCH: deprecated
DEFAULT BRANCH: master
Ran 19 Feb 2017 05:00PM UTC
Jobs 3
Files 7
Run time 14s
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
87

push

travis-ci

btracey
Implement and optimize NormalQuantile

This PR moves the computation of the standard normal quantile from gonum/stat/distuv to gonum/mathext. This also optimizes the implementation that had been in distuv. While performing this modification, I also compared with the implementation in cephes, and applied the same optimizations. These optimizations may as well be kept.

The accuracy of this implementation and the implementation in cephes are similar (at least compared with the tests here).

At the start, the benchmark of the Cephes implementation was ~51000ns/op, reduced to ~41000ns/op after optimizations. The distuv code started at ~41000ns/op, and these optimizations reduce to 24600ns/op, about a 40% increase.

A piece of code I have been working on spends about 20% of the time just computing the normal quantile, and these optimizations lead to about a 10% improvement on this real program

1791 of 2045 relevant lines covered (87.58%)

10.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 87.1 19 Feb 2017 05:00PM UTC 0
87.58
Travis Job 87.1
2 87.2 19 Feb 2017 05:00PM UTC 0
87.58
Travis Job 87.2
3 87.3 19 Feb 2017 05:00PM UTC 0
87.58
Travis Job 87.3
Source Files on build 87
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #87
  • efaaade6 on github
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