[poincare/unit] Add Celsius and Fahrenheit

Temperatures can be converted to and from degree Celsius and Fahrenheit.
When used in non-trivial calculations, they are always reduced to undef,
as the rules for manipulating relative scales are not well defined.

Change-Id: If59e224a0e7f940b421bc894bbe2279c90f38d04
This commit is contained in:
Gabriel Ozouf
2020-08-19 15:25:06 +02:00
committed by Émilie Feral
parent 4274b558b6
commit d37540f032
14 changed files with 201 additions and 14 deletions

View File

@@ -35,6 +35,8 @@ UnitCurrentAmpereSymbol = "_A"
UnitCurrentAmpereMilliSymbol = "_mA"
UnitCurrentAmpereMicroSymbol = "_μA"
UnitTemperatureKelvinSymbol = "_K"
UnitTemperatureCelsiusSymbol = "_Cel"
UnitTemperatureFahrenheitSymbol = "_Fah"
UnitAmountMoleSymbol = "_mol"
UnitAmountMoleMilliSymbol = "_mmol"
UnitAmountMoleMicroSymbol = "_μmol"