bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13580: 24.2.92; regression in calc-convert-units


From: Jay Belanger
Subject: bug#13580: 24.2.92; regression in calc-convert-units
Date: Thu, 07 Feb 2013 13:53:21 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I am sorry, I do not understand the new behavior: Why does
> calc-convert-units ask now
>
>   (The expression is unitless when simplified) Old Units: 
>
> if the expression is dimensionless? 

It says unitless, not dimensionless.  They are not the same thing.

> From a different perspective: calc-convert-units in the pretest
> branch is still broken,

Not that I can see.  If there are units (whether dimensionless or not),
it will work with those.  If there are not units to convert, it will ask
what units you intended.

For example, 
convert:
 3
There are no units here, so Calc asks for the old units.  This behavior
is as old as Calc.
convert:
 3 ft/in
This is simply 36.  There are no units here, so Calc asks for the old
units.  Since someone might wonder why Calc is asking for units, there
is a message pointing out the expression doesn't have any.
convert:
 3 rad
This is dimensionless but not unitless.  Since there is a unit to work
with, Calc doesn't ask for one.  

Which behavior do you consider buggy?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]