Correct temperature names in Calc

* doc/misc/calc.texi (The Units Table, Predefined Units):
* lisp/calc/calc-units.el (math-standard-units):
It's just Kelvin, not degree Kelvin.
This commit is contained in:
Mattias Engdegård 2023-10-10 14:20:05 +02:00
parent 2c6015437e
commit c34a425d4d
2 changed files with 4 additions and 6 deletions

View file

@ -28032,7 +28032,7 @@ unit name on the stack and then reduce it to base units with @kbd{u b}.
The @kbd{u e} (@code{calc-explain-units}) command displays an English
description of the units of the expression on the stack. For example,
for the expression @samp{62 km^2 g / s^2 mol K}, the description is
``Square-Kilometer Gram per (Second-squared Mole Degree-Kelvin).'' This
``Square-Kilometer Gram per (Second-squared Mole Kelvin).'' This
command uses the English descriptions that appear in the righthand
column of the Units Table.
@ -28066,8 +28066,8 @@ Canadian (@code{galC}), and British (@code{galUK}) definitions. Also,
note that @code{oz} is a standard ounce of mass, @code{ozt} is a Troy
ounce, and @code{ozfl} is a fluid ounce.
The temperature units corresponding to degrees Kelvin and Centigrade
(Celsius) are the same in this table, since most units commands treat
The temperature units corresponding to Kelvin and degree Celsius
are the same in this table, since most units commands treat
temperatures as being relative. The @code{calc-convert-temperature}
command has special rules for handling the different absolute magnitudes
of the various temperature scales.

View file

@ -181,9 +181,7 @@
( hpm "75 m kgf/s" "Metric Horsepower") ;;ESUWM
;; Temperature
( K nil "*Degree Kelvin" K )
( dK "K" "Degree Kelvin" K )
( degK "K" "Degree Kelvin" K )
( K nil "*Kelvin" K )
( dC "K" "Degree Celsius" C )
( degC "K" "Degree Celsius" C )
( dF "(5/9) K" "Degree Fahrenheit" F )