measures icon indicating copy to clipboard operation
measures copied to clipboard

Unit "C" is defined both as electric charge and temperature

Open mirkov opened this issue 6 years ago • 3 comments

Code in unit-defs.lisp defines the unit "C" both as a unit of electric charge and temperature. This latter one is in effect when measures is loaded

A workaround when working with electric charge is to specify values in terms of Ampere * Second like so: #M1A.s

A solution would involve changing the definition of temperature units. I may try that at some later time.

mirkov avatar May 13 '19 14:05 mirkov

The actual standard is °C . Might be more standard conforming to change C to °C .

lispm avatar May 15 '19 10:05 lispm

There is commented out code near the bottom of "unit-defs.lisp" that mentions units "oK", "oC", etc.

My current goal is to document issues and bugs, along with possible workarounds. At some point in the future someone can modernize and update the code.

I hope you won't mind if I document these by raising issues on GitHub. If you would prefer another way, please let me know.

mirkov avatar May 15 '19 13:05 mirkov

That's fine, go ahead.

lispm avatar May 15 '19 13:05 lispm