Post Reply 
logₓy
01-13-2019, 12:56 PM
Post: #17
RE: logₓy
(01-13-2019 11:07 AM)Paul Dale Wrote:  All of the programming languages I used that have log to a specified base, put the base second. I.e. log(x, b).

The 34S did originally calculate logxy, but we changed the arguments around. I have a vague memory that this was to be consistent with yx, but I could be wrong.

?!? – all 34s versions I ever used calculate logxy. That's also what is shown on the emulator skins.

I remember well the discussion about the argument order. My point is that you usually have a number in X and then you want to calculate the base-x-log of it. For a base-5-log you now simply enter 5 [logxy]. Just as you do it with powers: 5 [yx].

5 [ENTER] 3 [yx] =>125
5 [logxy] => 3

So this is similar to he mentioned log(x, b) function in the programming languages: enter x first, then the base. It's only that in RPN the x-value happens to end up in Y and the base b in X. ;-)

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
logₓy - cdmackay - 01-12-2019, 09:09 PM
RE: logₓy - pier4r - 01-12-2019, 09:12 PM
RE: logₓy - Jeff_Kearns - 01-15-2019, 08:15 PM
RE: logₓy - cdmackay - 01-12-2019, 09:45 PM
RE: logₓy - Benjer - 01-12-2019, 10:42 PM
RE: logₓy - Valentin Albillo - 01-12-2019, 10:49 PM
RE: logₓy - cdmackay - 01-13-2019, 12:01 AM
RE: logₓy - rprosperi - 01-13-2019, 01:29 AM
RE: logₓy - Valentin Albillo - 01-13-2019, 02:13 AM
RE: logₓy - Gerson W. Barbosa - 01-13-2019, 12:40 AM
RE: logₓy - cdmackay - 01-13-2019, 03:19 AM
RE: logₓy - Dieter - 01-13-2019, 08:47 AM
RE: logₓy - pier4r - 01-13-2019, 09:11 AM
RE: logₓy - grsbanks - 01-13-2019, 09:49 AM
RE: logₓy - StephenG1CMZ - 01-13-2019, 09:58 AM
RE:logᵧx - Thomas Klemm - 01-13-2019, 10:28 AM
RE: logₓy - Paul Dale - 01-13-2019, 11:07 AM
RE: logₓy - Dieter - 01-13-2019 12:56 PM
RE: logₓy - Ángel Martin - 01-14-2019, 03:57 PM
RE: logₓy - cdmackay - 01-13-2019, 07:40 PM
RE: logₓy - cdmackay - 01-15-2019, 06:07 PM



User(s) browsing this thread: 6 Guest(s)