Post Reply 
BITXOR in RPN mode
12-22-2017, 12:09 AM
Post: #3
RE: BITXOR in RPN mode
(12-21-2017 05:35 PM)wawa Wrote:  11 enter 12 bitxor(2)
in rpn, you have to specify the number of arguments to be taken from the stack

Specifically, it takes the minimum number of arguments automatically from the stack unless specified. This command can take a list of arguments as input allowing any number of XORs provided they were given in a list. Without a list, it can take up to 16 inputs directly.

Normally in RPN, the lowest number of arguments is the most common case and you don't have to do any specifying of argument count. This is a case where the most common use will be 2 args, but there was no way to support doing a list input without causing a slight inconvenience for RPN users.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
BITXOR in RPN mode - frequencydrive - 12-21-2017, 05:49 AM
RE: BITXOR in RPN mode - wawa - 12-21-2017, 05:35 PM
RE: BITXOR in RPN mode - Tim Wessman - 12-22-2017 12:09 AM



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