Skip to content

Releases: bernedom/SI

Refactoring and reordering of internal header files

24 Mar 09:40
5163b08
Compare
Choose a tag to compare
  • Moved helper function such as unit_cast and unit_with_common_ratio to own file for easier maintenance
  • Moved cross-unit-operations and epsEqual to a separate file for easier maintenance
  • Rename epsEqual() to eps_equals() for consitency with naming scheme

Literals for `*ton_t`

12 Feb 06:09
417e517
Compare
Choose a tag to compare
  • Add literals for ton types up to peta ton

`ton_t` for mass

30 Jan 20:27
0ee820a
Compare
Choose a tag to compare
  • Add synonymous *_ton_t types for mass magnitudes
  • Renamed default branch from master to main

All magnitudes for mass

17 Dec 21:18
bf34323
Compare
Choose a tag to compare
  • Documentation update and fixing typos in test names
  • Full magnitudes for mass up to zetta_gram

Value-types for type traits

04 Dec 07:07
0e4cd23
Compare
Choose a tag to compare
  • Refactored type dependent functions to use std::enable_if_v instead of std::enable_if::value
  • Use value types for type traits (i.e. std::is_arithmetic_v instead of std::is_arithmetic::value
  • Add SI::detail::is_ratio_v and SI::detail::is_unit_t_v

Fractions as exponents

04 Nov 12:15
Compare
Choose a tag to compare
  • Support for fractions as exponents (Types from version 1.x.x are no longer supported)
  • Rename access to stored scalar values to value() (from previously raw_value()) (Brakes interfaces from 1.x.x)
  • The conan-package is named si instead of SI to match the conan naming convention (Include-paths stay upper case)

Optimizing conan packaging

09 Oct 09:27
0f3c5bf
Compare
Choose a tag to compare
  • Refactoring conanfile.py to create cmake object only once for a tiny bit more performance when packing

Buildsystem and packaging optimzations

22 Aug 06:04
452511f
Compare
Choose a tag to compare
  • conanfile.py pulls the version out of CMakeLists.txt for packaging.
  • Selecting the cmake option SI_INSTALL_LIBRARY=OFF removes the target install completely
  • Add new-line to the end of all files to fit with the ConanCenter code convention.

Awareness about context when building with conan

10 Aug 11:03
0c5a506
Compare
Choose a tag to compare
  • If SI is built from within conan the conanbuildinfo provided by conan will be used instead of getting it from github
  • Cleanup of obsolete code

Speed of light as unit

18 Jul 15:33
aeed61e
Compare
Choose a tag to compare
  • Extended technical documentation
  • Add speed of light to velocity