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

JuliaMath / FixedPointDecimals.jl / 286 / 4
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2019 09:25PM UTC
Files 1
Run time 48min
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

13 Feb 2019 09:21PM UTC coverage: 88.304% (-8.2%) from 96.491%
286.4

push

travis-ci

omus
Optimize zero(FD{T,f}): implement via reinterpret not convert. (#46)

* Optimize zero(FD{T,f}): reinterpret not convert.

I also noticed, though, that reinterpret() is still not fully
const-folding. It often folds away in simple constructions, but inside
complex expressions it isn't.

I fixed this by marking both `reinterpret` and `max_exp10` as `Base.@pure`.

* Add comment explaining motivation for `Base.zero(FD)`

* Spacing fix in src/FixedPointDecimals.jl

Co-Authored-By: NHDaly <NHDaly@gmail.com>

* Also optimize `Base.one` to fully const-fold.

- Add definition for Base.one(::Type{FD{T,f}})
- Mark coefficient(::Type{FD{T,f}}) as `Base.@pure` as well.

* Update comment for coefficient being `@pure`

151 of 171 relevant lines covered (88.3%)

519.26 hits per line

Source Files on job 286.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 253
  • Travis Job 286.4
  • 815452a3 on github
  • Prev Job for on master (#278.3)
  • Next Job for on master (#288.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

© 2025 Coveralls, Inc