Mateusz Pusz
d171f5451e
NTTP ratio support added ( resolves #49 )
2020-06-27 19:15:46 +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
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
15833669d8
Fixed text formatting for current density in unit test
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
608a75b61f
Added magnetic induction unit tests
2020-04-10 16:36:08 +02: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
Mateusz Pusz
6a5f25750d
UDL naming refactored
2020-03-10 20:53:53 +01:00
Mateusz Pusz
0c02f94d29
Printing of uknown non-coherent units fixed
2020-02-24 20:45:47 +01:00
Mateusz Pusz
e7756bf4eb
Printing order of base units according to the recipe fixed
2020-02-24 15:18:37 +01:00
Oliver Schönrock
834d1fa09d
extending the range of operator* for incoherent units with large num/den
...
this improves the situation for #55 (doesn't solve it outright)
motivating examples which now work are:
1q_mi * 1q_mi * 1q_mi
1q_au * 1q_au
tests added and docs updated
2020-02-20 23:46:55 +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
Oliver Schönrock
1280b7d4be
fix fmt test typos for accidental find/replace mistakes during 1m => 1q_m
...
changes
2020-02-20 19:57:20 +01:00
Mateusz Pusz
18620044c5
All UDLs are now prefixed with q_
2020-02-17 15:56:06 +01:00
Mateusz Pusz
876c2ac426
thou used as a primary unit in a fmt unit test
2020-01-14 12:59:37 +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
Mateusz Pusz
a01c811f5f
Square and cubic UDLs renamed
2020-01-09 10:03:41 +01:00
Mateusz Pusz
80a13b1a94
US system isolated from SI
2019-12-17 12:29:19 +01:00
Mateusz Pusz
bc1901f4f0
Text formatting enabled + directory tree refactoring
2019-12-11 08:07:13 +01:00
Mateusz Pusz
6d9cb8197f
fmt fill and allign support added
2019-11-12 16:55:11 +01:00
Mateusz Pusz
83edb46de8
coherent_derived_unit symbol synthetizing fixed
2019-11-10 19:51:25 +01:00