The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP Prime - another cosmetic bug
Message #1 Posted by BruceH on 9 Nov 2013, 5:59 p.m.

LN(0)               Error:LN(0)
LOG(0)              Error:LN(0)
                          ^^ - not LOG?
      
Re: HP Prime - another cosmetic bug
Message #2 Posted by Ken Shaw on 11 Nov 2013, 10:15 a.m.,
in response to message #1 by BruceH

Isn't it a certainty that log(x) is computed using a call to ln(x)? If it was the other way around, then both error messages would presumably also be the same, but refer to "log(0)" instead.

Not sure if the Prime can handle arbitrary bases, but it seems unreasonable to expect a special error message for every possible base.

            
Re: HP Prime - another cosmetic bug
Message #3 Posted by Michael de Estrada on 11 Nov 2013, 10:30 a.m.,
in response to message #2 by Ken Shaw

It's just that on all other HP calculators it does differentiate between LN and LOG. For example on the HP 50g the error is displayed as "LOG Error: Infinite Result" and on the HP 33s as "LOG(0)" Not the end of the world, but just another of many small oversights on the Prime.

                  
Re: HP Prime - another cosmetic bug
Message #4 Posted by Ken Shaw on 12 Nov 2013, 2:18 p.m.,
in response to message #3 by Michael de Estrada

That's interesting, thanks.

I wouldn't call it a bug though. If the error is really being thrown by the LN subroutine and being passed to the LOG routine, it would be technically correct.

I agree it may be nicer cosmetically for the error to reference the function initiated by the user, but a contarian view would be that it's less informative.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall