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

nholthaus / units / 555
0%
master: 0%

Build:
Build:
LAST BUILD BRANCH: v3.x
DEFAULT BRANCH: master
Ran 25 May 2018 09:19PM UTC
Jobs 1
Files 2
Run time 189min
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
555

push

travis-ci

nholthaus
Support integral underlying types (#126)

* Prevent lossy initialization of units

* Prevent lossy conversions of units

* Provide type safe convert overload

This new overload carries intermediate computations in the widest representation to be correct.

* Specialize std::common_type for unit containers

* Make the old convert-function underlying-type safe

* Implement unit's convert function in terms of unit_conversion's

This takes advantages of the optimizations in the unit_conversion's convert. Also reduces the amount of instantiated code by depending only on the unit_conversions and underlying types.

* Add modulo operators for linear units

* Support mixed underlying types in the equality operators

* Support mixed underlying types in the relational operators

* Support mixed underlying types in the linear arithmetic operators

* Support mixed underlying types in the decibel arithmetic operators

* Support mixed underlying types in the math algorithms

Introduces the detail::floating_point_promotion type trait to simulate the promotion undergone by integers when calling the standard cmath functions overloaded on `float`, `double` and `long double`.

* Make unit member function convert underlying type aware

* (fixup) Prevent lossy initialization of units

* (fixup) Prevent lossy conversions of units

* (fixup) Provide type safe convert overload

* (fixup) Provide type safe convert overload

* (fixup) Add modulo operators for linear units

* (fixup) Provide type safe convert overload

* (fixup) Support mixed underlying types in the equality operators

* (fixup) Support mixed underlying types in the relational operators

* (fixup) Support mixed underlying types in the linear arithmetic operators

* (fixup) Support mixed underlying types in the linear arithmetic operators

* (fixup) Support mixed underlying types in the decibel arithmetic operators

* (fixup) Support mixed underlying types in t... (continued)

3219 of 3225 relevant lines covered (99.81%)

9.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 555.1 (MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" COVERALLS_SERVICE_NAME=travis-ci COVERALLS_REPO_TOKEN=[secure]) 25 May 2018 09:19PM UTC 0
99.81
Travis Job 555.1
Source Files on build 555
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #555
  • 428c54bb on github
  • Prev Build on v3.x (#485)
  • Next Build on v3.x (#562)
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