aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJay Belanger2011-10-12 21:50:58 -0500
committerJay Belanger2011-10-12 21:50:58 -0500
commit2be4956d356f48ae65127679994a6ef6fa208914 (patch)
tree399987ade18d2103d062d12ac94967d4ea8d999d /doc
parentfd8dea03e179f417c3d115401732572c625d4998 (diff)
downloademacs-2be4956d356f48ae65127679994a6ef6fa208914.tar.gz
emacs-2be4956d356f48ae65127679994a6ef6fa208914.zip
* calc.texi (Basic Operations on Units): Discuss temperature
conversion (`u t') alongside with other unit conversions ('u c').
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/calc.texi28
2 files changed, 20 insertions, 13 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 93f722f806e..294c6472000 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12011-10-13 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc.texi (Basic Operations on Units): Discuss temperature
4 conversion (`u t') alongside with other unit conversions ('u c').
5
12011-10-12 Glenn Morris <rgm@gnu.org> 62011-10-12 Glenn Morris <rgm@gnu.org>
2 7
3 * ert.texi: Whitespace trivia to make main menu items line up better. 8 * ert.texi: Whitespace trivia to make main menu items line up better.
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index f732eff5690..5a1ee872a2b 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -27748,6 +27748,19 @@ the above example, entering the units expression @samp{100 km/hr} and
27748typing @kbd{u c @key{RET}} (without specifying new units) produces 27748typing @kbd{u c @key{RET}} (without specifying new units) produces
27749@samp{27.7777777778 m/s}. 27749@samp{27.7777777778 m/s}.
27750 27750
27751@kindex u t
27752@pindex calc-convert-temperature
27753@cindex Temperature conversion
27754The @kbd{u c} command treats temperature units (like @samp{degC} and
27755@samp{K}) as relative temperatures. For example, @kbd{u c} converts
27756@samp{10 degC} to @samp{18 degF}: A change of 10 degrees Celsius
27757corresponds to a change of 18 degrees Fahrenheit. To convert absolute
27758temperatures, you can use the @kbd{u t}
27759(@code{calc-convert-temperature}) command. The value on the stack
27760must be a simple units expression with units of temperature only.
27761This command would convert @samp{10 degC} to @samp{50 degF}, the
27762equivalent temperature on the Fahrenheit scale.
27763
27751While many of Calc's conversion factors are exact, some are necessarily 27764While many of Calc's conversion factors are exact, some are necessarily
27752approximate. If Calc is in fraction mode (@pxref{Fraction Mode}), then 27765approximate. If Calc is in fraction mode (@pxref{Fraction Mode}), then
27753unit conversions will try to give exact, rational conversions, but it 27766unit conversions will try to give exact, rational conversions, but it
@@ -27818,19 +27831,8 @@ The @kbd{u b} (@code{calc-base-units}) command is shorthand for
27818stack into @code{base} units. If @kbd{u s} does not simplify a 27831stack into @code{base} units. If @kbd{u s} does not simplify a
27819units expression as far as you would like, try @kbd{u b}. 27832units expression as far as you would like, try @kbd{u b}.
27820 27833
27821The @kbd{u c} and @kbd{u b} commands treat temperature units (like 27834Like the @kbd{u c} command, the @kbd{u b} command treats temperature
27822@samp{degC} and @samp{K}) as relative temperatures. For example, 27835units as relative temperatures.
27823@kbd{u c} converts @samp{10 degC} to @samp{18 degF}: A change of 10
27824degrees Celsius corresponds to a change of 18 degrees Fahrenheit.
27825
27826@kindex u t
27827@pindex calc-convert-temperature
27828@cindex Temperature conversion
27829The @kbd{u t} (@code{calc-convert-temperature}) command converts
27830absolute temperatures. The value on the stack must be a simple units
27831expression with units of temperature only. This command would convert
27832@samp{10 degC} to @samp{50 degF}, the equivalent temperature on the
27833Fahrenheit scale.
27834 27836
27835@kindex u r 27837@kindex u r
27836@pindex calc-remove-units 27838@pindex calc-remove-units