rbrugo
fedfe15f6d
Added magnetic induction
2020-04-10 16:36:08 +02:00
Mateusz Pusz
a5d5253159
Merge branch 'master' of github.com:mpusz/units
2020-04-06 14:22:36 +02:00
Mateusz Pusz
8a01541c88
Sphinx fixed at 2.4.4 as 3.0.0 breaks Travis CI
2020-04-06 14:22:29 +02:00
rbrugo
da470a6976
added a small guide for editing the format specifications
2020-04-06 12:41:18 +02:00
rbrugo
4250a7a042
moved ascii_only functionality to unit_format_specs
2020-04-06 12:41:18 +02:00
Mateusz Pusz
7bba350be0
Improved usage of the library as a dependency
2020-04-05 10:20:40 +02:00
Mateusz Pusz
e9e54938d4
Unit symbols with ⋅ symbol updated in the documentation
2020-03-28 12:51:17 +01:00
Mateusz Pusz
d19825e14c
Numeric concepts removed from repo (no longer used)
2020-03-28 12:08:37 +01:00
Mateusz Pusz
ae7cd4d068
CHANGELOG updated
2020-03-27 16:00:52 +01:00
Mateusz Pusz
f75a69da9a
Direct namespace usage removed from fixed_string
2020-03-27 15:21:42 +01:00
Mateusz Pusz
f5df68253e
symbol_text refactored
2020-03-27 15:21:05 +01:00
Mateusz Pusz
2a77e20cc6
Unit test renamed
2020-03-27 10:08:19 +01:00
Ramzi Sabra
852c6e90fb
added [[maybe_unused]] attribute to char parameter in ASCII validation function to allow release builds to compile
2020-03-27 10:03:59 +01:00
Ramzi Sabra
36bee5a8c3
fixed dot product symbol
2020-03-27 10:03:59 +01:00
Ramzi Sabra
e0263c554d
added ASCII character validation; added ASCII-only superscripts, scientific notation, dot product
2020-03-27 10:03:59 +01:00
Ramzi Sabra
c610b04904
StandardCharT is now char if only one symbol is provided
2020-03-27 10:03:59 +01:00
Ramzi Sabra
a3d4e04645
replaced ASCIICharT typename with char
2020-03-27 10:03:59 +01:00
Ramzi Sabra
b8073b79d0
replaced ASCII part comparison with assert ensuring same comparison result as for standard part
2020-03-27 10:03:59 +01:00
Ramzi Sabra
dd6db61ea9
added ASCII symbol for micro SI unit prefix
2020-03-27 10:03:59 +01:00
Ramzi Sabra
7aa381d525
added spaceship operator
2020-03-27 10:03:59 +01:00
Ramzi Sabra
60d9a9036a
added more operators; added tests
2020-03-27 10:03:59 +01:00
Ramzi Sabra
f6d9a1cbda
removed c_str(), size(), operator<< abstractions from basic_symbol_text
2020-03-27 10:03:59 +01:00
Ramzi Sabra
e9272ac108
added ASCII-only format output support
2020-03-27 10:03:59 +01:00
Mateusz Pusz
99c309ef19
Some constants readability improved
2020-03-26 20:57:33 +01:00
Mateusz Pusz
e7f763ddc3
Natural Units use case chapter added
2020-03-26 20:56:26 +01:00
Mateusz Pusz
36055208d1
Linear Algebra chapter added
2020-03-26 18:26:27 +01:00
Mateusz Pusz
35320fc056
Release names made bold in CHANGELOG
2020-03-26 17:09:57 +01:00
Mateusz Pusz
89c8c58073
Chapter titles casing unified
2020-03-26 17:09:26 +01:00
Mateusz Pusz
d8d3dcf339
Custom Represetnation Types chapter done
2020-03-26 16:58:37 +01:00
Mateusz Pusz
ecb158eaa7
Concepts enabled for customization points
2020-03-26 16:37:47 +01:00
Mateusz Pusz
4637985b7a
Quantity of matrix tests added
...
But commented out due to complier segfault.
2020-03-26 16:36:48 +01:00
Mateusz Pusz
73a2b30d65
Quantity of vector tests added
2020-03-25 22:40:59 +01:00
Mateusz Pusz
ce0fbfa0a1
quantity cast refactored to match new ratio and Scalar design
2020-03-25 22:07:16 +01:00
Mateusz Pusz
9fbf17be06
Scalar concept extended
...
Scalar concept extended with types that are not constructible from and integral type
2020-03-25 22:06:07 +01:00
Mateusz Pusz
c2b851c92b
Linear algebra example updated
2020-03-25 17:27:45 +01:00
Mateusz Pusz
52e7f57c69
Measurement example updated
2020-03-25 16:30:08 +01:00
Mateusz Pusz
f2c14dfa34
Lack of CTAD for aliases fixed for gcc-9
2020-03-25 15:59:45 +01:00
Mateusz Pusz
9afcf9e695
Linear Algebra support added
2020-03-25 15:57:53 +01:00
Mateusz Pusz
ab1cc4b8e7
Overconstrained quantity operations relaxed
2020-03-25 15:04:33 +01:00
Mateusz Pusz
2a5baff160
Custom representation types chapter updated
2020-03-24 23:30:20 +01:00
Mateusz Pusz
781e331ff0
See Also note in conversion in casting chapter updated
2020-03-24 23:29:47 +01:00
Mateusz Pusz
4a563d8711
Measurement example added
2020-03-24 23:28:39 +01:00
Mateusz Pusz
be6b5720ab
Custom representation types extended
2020-03-24 23:25:47 +01:00
Mateusz Pusz
6078ed90b0
Common CMake tools updated
2020-03-24 23:18:15 +01:00
Mateusz Pusz
0a906450a2
Custom representation tests moved to a new file
2020-03-24 22:56:11 +01:00
Andy Little
6b7e5893d2
examples, alternative namespaces : Part2 of put alternative namespace definitions in local headers.
...
examples, clcpp_response,alternative_namespaces::clcpp_response : use fmt functions for showing precision of quantities
examples, alternative namespaces : combined the alternative namespace quantity typedefs in header files.
examples, alternative namespaces : add simple timer example
2020-03-21 18:23:05 +01:00
Andy Little
c886590b03
fix link to godbolt compiler in readme
2020-03-21 18:14:49 +01:00
rbrugo
b605ca309b
Added check for unit modifiers
2020-03-20 16:15:53 +01:00
rbrugo
a3b9ef8eaa
Deleted a commented out test case
2020-03-20 16:15:53 +01:00
rbrugo
3976e5ea2d
Indentation refactored to 2 spaces for consistency
2020-03-20 16:15:53 +01:00