Commit Graph
11 Commits
Author SHA1 Message Date
Mateusz Pusz 563b358d5e feat!: 💥 dimensionless quantities refactored
Dimensionless quantities are now represented by quantity types rather
than by plain representation types. Only dimensionless quantities with
`unitless` unit are implicitly convertible from representation types.

`units::exp()` now is a function doing std::exp() on a representation
type (previous `units::exp` class template was renamed to
`units::exponent`).

BREAKING_CHANGE: gcc-9.3 support removed
BREAKING_CHANGE: `exp` and `Exp` renamed to `exponent` and `Exponent`
Resolves #27
Resolves #42
2020-09-08 11:02:16 +02:00
Mateusz Pusz 7e935a4108 Physical units put in the physical namespace (I am sorry) 2020-05-08 22:39:24 +02:00
Mateusz Pusz ac0f10184c fabs() removed as abs() is enough 2020-05-06 18:17:49 +02:00
Mike Ford a8ca425e2d Added absolute functions (abs, fabs) and epsilon. 2020-05-06 13:21:31 +02:00
Mateusz Pusz 18620044c5 All UDLs are now prefixed with q_ 2020-02-17 15:56:06 +01:00
Mateusz Pusz a01c811f5f Square and cubic UDLs renamed 2020-01-09 10:03:41 +01:00
Mateusz Pusz bc1901f4f0 Text formatting enabled + directory tree refactoring 2019-12-11 08:07:13 +01:00
Mateusz Pusz 8543ab65d1 pow<0> support added 2019-10-19 20:51:20 +02:00
Mateusz Pusz 9a9abca81d Text output support added for quantity 2019-10-16 17:04:41 +02:00
Mateusz Pusz 527927e905 pow<3>() check added to the math uni test 2019-10-15 11:27:39 +02:00
Mateusz Pusz 3475f5193e Catch2 support added (resolves #8) 2019-10-14 10:53:02 +02:00