Johel Ernesto Guerrero Peña
75119eef3f
feat: quantity_point
2020-06-17 15:31:22 +02:00
Mateusz Pusz
54df464b1d
Conversion issues fixed in si_fps_test
2020-06-16 17:42:39 +02:00
Mateusz Pusz
4a46f44618
Merge branch 'master' of github.com:mpusz/units
2020-06-16 17:12:57 +02:00
Mike Ford
8230a42cb0
added some units for the foot-pound-second system and the static tests
2020-06-16 15:14:46 +02:00
Mateusz Pusz
fea072aeb5
warnings.cmake refactored
2020-05-29 10:07:01 +02:00
Mateusz Pusz
86b9177816
Specialize common_type to satisfy comparison concepts ( resolves #113 )
2020-05-28 20:19:05 +02:00
Mateusz Pusz
61fadb8ebc
dim_velocity renamed to dim_speed
2020-05-14 16:00:38 +02:00
Mateusz Pusz
ce301748dd
Velocity renamed to Speed ( resolves #103 )
2020-05-10 17:31:47 +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
1830735544
Unit tests for alias_unit added
2020-05-08 21:18:16 +02:00
Ramzi Sabra
7b8ad8e37c
changed hectare to an alias_unit
2020-05-08 10:41:38 +02:00
Ramzi Sabra
6f8bddc832
added more prefixed SI units; added alias_unit and prefixed_alias_unit types
2020-05-08 10:41:38 +02:00
Mateusz Pusz
202a2b0823
Missing dimension concepts tests added
2020-05-07 09:25:34 +02:00
Mateusz Pusz
ff21e1e899
GCC 10 compilation fixed
2020-05-05 21:25:56 +02:00
rbrugo
9ec5c77602
Added molar heat capacity
2020-04-10 16:36:08 +02:00
rbrugo
7dda8319a2
Added molar energy
2020-04-10 16:36:08 +02:00
rbrugo
89dbc30a92
Added permeability
2020-04-10 16:36:08 +02:00
rbrugo
596161cca5
Added permittivity
2020-04-10 16:36:08 +02:00
rbrugo
1cf0074483
Added charge density
2020-04-10 16:36:08 +02:00
rbrugo
7803da0bdf
Added electric field strength
2020-04-10 16:36:08 +02:00
rbrugo
15138286e5
Added thermal conductivity
2020-04-10 16:36:08 +02:00
rbrugo
017e88ca28
Added heat capacity and specific heat capacity
2020-04-10 16:36:08 +02:00
rbrugo
07b5364c97
Added dynamic viscosity
2020-04-10 16:36:08 +02:00
rbrugo
4b4cc70764
Added luminance
2020-04-10 16:36:08 +02:00
rbrugo
8ddd7e1233
Added concentration
2020-04-10 16:36:08 +02:00
rbrugo
e6b34b6b1b
Added current density
2020-04-10 16:36:08 +02:00
rbrugo
43f475fb80
Added absorbed dose
2020-04-10 16:36:08 +02:00
rbrugo
561773da7e
Added catalytic activity
2020-04-10 16:36:08 +02:00
rbrugo
3cd77de2e9
Added conductance
2020-04-10 16:36:08 +02:00
rbrugo
14f00ef775
Added inductance
2020-04-10 16:36:08 +02:00
rbrugo
86eefe1b0d
Added magnetic flux
2020-04-10 16:36:08 +02:00
rbrugo
7b0ba64cba
Static tests for magnetic induction
2020-04-10 16:36:08 +02: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
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
60d9a9036a
added more operators; added tests
2020-03-27 10:03:59 +01:00
Mateusz Pusz
f2c14dfa34
Lack of CTAD for aliases fixed for gcc-9
2020-03-25 15:59:45 +01:00
Mateusz Pusz
ab1cc4b8e7
Overconstrained quantity operations relaxed
2020-03-25 15:04:33 +01:00
Mateusz Pusz
0a906450a2
Custom representation tests moved to a new file
2020-03-24 22:56:11 +01:00
Mateusz Pusz
6a5f25750d
UDL naming refactored
2020-03-10 20:53:53 +01:00
Mateusz Pusz
c745bebffd
type_list_join added
2020-02-24 15:15:46 +01:00
Mateusz Pusz
0c89df3980
unknown_unit renamed to unknown_coherent_unit
2020-02-22 09:37:40 +01:00
Oliver Schönrock
39a2c2de0e
employing more mathemtaically correct ratio_gcd calc (for common ratio)
...
really finds the maximum common ration as opposed to previous algo which
simplified on the exp part of the ratio by using std::min
most of new code credit to Conor Williams
discussion and additional doc here:
https://github.com/mpusz/units/issues/62#issuecomment-588152833
test case was 1yd + 1in = 37in => added as a test
commenting out unusued ratio_add and its tests
if to be reintroduced, should also use the new gcd routines
additonal change was required to check in `safe_divisible` concept
den=1 is not sufficient anymore. reusing new gcd routines
moved ratio nomalize and new gcd routines into new, separate bits/ratio_maths.h
this resolves #62
2020-02-20 19:59:12 +01:00
Mateusz Pusz
18620044c5
All UDLs are now prefixed with q_
2020-02-17 15:56:06 +01:00
Oliver Schönrock
0566cc631d
implementing units::ratio_add and tests
...
not yet used in src/include/units/bits/dim_consolidate.h
because it breaks and cascades (due to new exponent we think)
2020-02-16 14:53:06 +01:00
Oliver Schönrock
291d3d1eb7
dealing with exponent during sqrt
...
fixes #58
2020-02-16 14:53:06 +01:00
Mateusz Pusz
a8ada63031
units::exp disambiguated in unit tests
2020-02-12 09:49:49 +01:00
Mateusz Pusz
2360392a3d
Tests for #58 added (uncomment when fixed)
2020-02-11 08:51:34 +01:00
Mateusz Pusz
037503cbc6
deduced_unit fixed + unit test for mass unit added
2020-02-10 20:35:32 +01:00
Andy Little
024f5a9c83
change const order
...
move in,ft,fathom,ft2,ft3,mph from us to international namespace
TODO distinguish units with different names for same values
2020-01-12 21:34:36 +01:00