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

JuliaMath / FixedPointDecimals.jl / 286
98%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2019 09:24PM UTC
Jobs 4
Files 1
Run time 79min
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
286

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`

163 of 171 relevant lines covered (95.32%)

2197.13 hits per line

Jobs
ID Job ID Ran Files Coverage
3 286.3 13 Feb 2019 09:24PM UTC 0
95.32
Travis Job 286.3
4 286.4 13 Feb 2019 09:25PM UTC 0
88.3
Travis Job 286.4
5 286.5 13 Feb 2019 09:25PM UTC 0
95.32
Travis Job 286.5
6 286.6 13 Feb 2019 09:29PM UTC 0
95.32
Travis Job 286.6
Source Files on build 286
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #286
  • 815452a3 on github
  • Prev Build on master (#278)
  • Next Build on master (#288)
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