DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Excalibur 32-bit  (Read 20,956 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Excalibur 32-bit
« on: June 30, 2007, 08:51 AM »
recently, i had been hunting for a RPN calculator when i found this brilliant freeware: Excalibur 32-bit.

Features
Powerful RPN entry. 300 Functions (scientific, business, conversion, computer science, physics, complex numbers, geometry, vectors, etc). Full 4 or 8-level stack. International support for different comma and decimal point formats. Programmable, macros, registers, custom button banks, etc.

[attach=#]
http://www.geocities.com/dbergis/freeware.htm

P.S. this calculator program is freeware but the author requests donations to cover bandwidth costs.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Excalibur 32-bit
« Reply #1 on: June 30, 2007, 10:35 PM »
Why RPN though? Always seemed a 'bit' alien to me :)
- carpe noctem

Ampa

  • I am cute ;)
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
Re: Excalibur 32-bit
« Reply #2 on: June 30, 2007, 11:00 PM »
For those who don't know... (and I certainly didn't)

RPN = Reverse Polish Notation - http://en.wikipedia.org/wiki/Reverse_Polish_notation

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Excalibur 32-bit
« Reply #3 on: July 01, 2007, 07:34 AM »
and to shed more light on this mysterious form of notation, have a look here.. ;)

[attach=#]
• http://www.hp.com/calculators/news/rpn.html

Grorgy

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 821
Re: Excalibur 32-bit
« Reply #4 on: July 01, 2007, 08:12 AM »
now what would be really good would be a calculator that gives roman numerals as the answer, i like the idea of 2 + 2 = IV  ;D

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Excalibur 32-bit
« Reply #5 on: July 01, 2007, 09:30 AM »
now what would be really good would be a calculator that gives roman numerals as the answer, i like the idea of 2 + 2 = IV   ;D
Incredible what one can find on the internet... Roman Calculator ;)

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Excalibur 32-bit
« Reply #6 on: July 01, 2007, 09:30 AM »
I still don't think RPN is more logic - you have to break down expressions into fragments with RPN. HP probably just wrote that blurb because it's easier to do RPN than a complex expression evaluator ;)
- carpe noctem

Grorgy

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 821
Re: Excalibur 32-bit
« Reply #7 on: July 01, 2007, 09:57 AM »
Hey thanks jgpaiva, thats really good, totally useless but fun, i like that  ;D

steeladept

  • Fettucini alfredo is macaroni & cheese for adults
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,061
    • Linux User
    • Military Service Badge - US Air Force
Re: Excalibur 32-bit
« Reply #8 on: July 01, 2007, 01:32 PM »
I still don't think RPN is more logic - you have to break down expressions into fragments with RPN. HP probably just wrote that blurb because it's easier to do RPN than a complex expression evaluator ;)

I agree...And the idea of the RPN saving keystrokes is rubbish as well.  After each number you hit enter, then after the operator you hit enter.  So for 2 + 2 = 4 you end up with 6 keystrokes vs. 4 w/ a standard calculator.  Now for a much more complex equation, you still hit the enter after each keystroke, and unless you have a great many nested sub-equations requiring several Parentheses in a row, then you really loose keystrokes.  Even in those situations it is not as much a savings as you are led to believe.

Another point to argue is the more natural method as taught in school on paper.  I don't know what school(s) they are talking about, but I know a simple algebraic calculator allows me to enter the equation EXACTLY like I was taught in school.

The only "advantage" I can see is seeing the intermediate steps, but even this is trivially completed with a standard algebraic calculator.

So back to the original question - Why RPN?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Excalibur 32-bit
« Reply #9 on: July 02, 2007, 01:38 PM »
i do find RPN to be a beautiful and elegant solution to handling parentheses.  The stack-like process should warm the heart of any programmer.

maybe rpn was originally used on calculators (i had it on my hp 48cv) because it made parsing expressions with parentheses much much easier.  very easy to implement a stack on a primitive calculator.. not so easy to implement a calculator that can accept very long expressions with ( and ) and then report unbalanced parentheses errors, etc.

Ward

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2
Re: Excalibur 32-bit
« Reply #10 on: July 02, 2007, 01:52 PM »
I still don't think RPN is more logic - you have to break down expressions into fragments with RPN. HP probably just wrote that blurb because it's easier to do RPN than a complex expression evaluator ;)

I agree...And the idea of the RPN saving keystrokes is rubbish as well.  After each number you hit enter, then after the operator you hit enter.  So for 2 + 2 = 4 you end up with 6 keystrokes vs. 4 w/ a standard calculator.  Now for a much more complex equation, you still hit the enter after each keystroke, and unless you have a great many nested sub-equations requiring several Parentheses in a row, then you really loose keystrokes.  Even in those situations it is not as much a savings as you are led to believe.

Another point to argue is the more natural method as taught in school on paper.  I don't know what school(s) they are talking about, but I know a simple algebraic calculator allows me to enter the equation EXACTLY like I was taught in school.

The only "advantage" I can see is seeing the intermediate steps, but even this is trivially completed with a standard algebraic calculator.

So back to the original question - Why RPN?

You don't have to press enter after every number - just press the operation associated.

E.g. 2 then press enter, 2 again then press +. Exactly the same as a normal calculator. Enter is only used once. The more complex the calculation, the less keystrokes are required.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Excalibur 32-bit
« Reply #11 on: July 02, 2007, 02:28 PM »
Quote from: "mouser"
i do find RPN to be a beautiful and elegant solution to handling parentheses.  The stack-like process should warm the heart of any programmer.
Not necessarily the programmers that have been dealing with x86 floating-point code >_<. I do find that there's some zen-like simplicity and elegance to RPN, but I don't find it particularly practical or convenient.
- carpe noctem

elpresi

  • Member
  • Joined in 2005
  • **
  • Posts: 87
Re: Excalibur 32-bit
« Reply #12 on: July 02, 2007, 04:34 PM »
http://www.tordivel.no/xcalc/

Another RPn calculator  ;)

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Excalibur 32-bit
« Reply #13 on: July 02, 2007, 05:01 PM »
you also found us a new kind of license, elpresi!

Quote from: http://www.tordivel.no/xcalc/
Spiceware

Actually, I like cooking. So if you like XCALC, please consider sending me some spices! If you have a special local blend or something you like, I would be very happy to receive a sample! Address below. Thank you!

JohnFredC

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 70
Re: Excalibur 32-bit
« Reply #14 on: July 11, 2007, 05:40 PM »
RPN is for those people who do lengthy chaining of calculations (not just adding-machine work) or who are conscious (or need to be conscious) of mathematical operator precedence and its effects on a calculation's result. 

Once you have learned to use the stack in an HP calculator (an RPN implementation), for instance, you'll understand why RPN is so popular with the more technical-minded among us.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Excalibur 32-bit
« Reply #15 on: July 11, 2007, 11:47 PM »
Quote from: "JohnFredC"
Once you have learned to use the stack in an HP calculator (an RPN implementation), for instance, you'll understand why RPN is so popular with the more technical-minded among us.
If the alternative is a calculator without decent editing facilities, perhaps... but with even the simple editing of a, say, TI-83, I see no advantage of RPN over standard algebraic syntax that most people can read fluently.
- carpe noctem

JeffC

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7
Re: Excalibur 32-bit
« Reply #16 on: July 12, 2007, 04:07 AM »
I have used both algebraic and RPN calculators as stand alone machines and on computer programs.  I think that RPN comes into its own with stand alone machines - I can input data MUCH more quickly and accurately using RPN logic on those machines.  I have both a TI-89 (algebraic) and an HP-49G (algebraic or RPN) and, in my opinion, the latter machine is far more productive in daily use when used in RPN mode.  On the computer I don't find the advantage nearly as noticeable, and there are a lot of clever algebraic based calculators available: particularly ones without a keypad that are for 'just figurin ..' like Calcute (http://calcute.com/) or SpeQ Mathematics (http://www.speqmath.com/) both of which are freeware.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Excalibur 32-bit
« Reply #17 on: July 12, 2007, 09:52 AM »
Both SpeQ and Calcute look pretty nice - thanks for those link!
- carpe noctem

Original address: https://www.donationcoder.com/forum/index.php?topic=9037.0