Halcyon Calc, like most calculators, is great for manipulating real numbers. This document will describe how to work with real numbers in the following sections:
For the purposes of this document, the assumption is that the radix character is a period (see the RDX, operation for more information), thus making the comma character the separator. If you have the calculator configured differently, swap the use of the period and comma wherever they occur.
There are a few different formats which the calculator understands which you can use in order to enter a real number:
But if you are entering a number, it will reverse the sign of that number. So, to enter the number -1230, hit the buttons "1", "2", "3", "0", "CHS" and finally "Enter". In fact, you can press "CHS" any time after you hit the "1" button. It will change the sign of the number and you can continue adding digits on the command line after that. Or, if you forget to the press "CHS" and complete entering the number as a positive integer, you can press the "CHS" button after to change its sign after pushing it onto the stack.
If you press "CHS" a second time on a number on the command line, it will reverse the negative sign so the number is positive again. So, it is easy to fix if you make a mistake.
Note that you can actually use the "E" button also from the left page of buttons instead of the "EEX" button. The command line does not distinguish between an "E" added by the "E" button or the "EEX" button. However, the "EEX" button is more convenient because it is on the same page as the digits themselves.
Also, the number does not need to have a decimal point in it. You could enter "123E28" which actually ends up being the same number (try it if you like).
Just like there are multiple ways to enter real numbers, you can display them on the calculator in multiple formats. These formats are global modes which means that all numbers displayed on the calculator will appear in a single format. If you change to a different format, all numbers displayed on the stack will automatically change and reflect the new format.
With any one format, not all digits will be displayed. In some formats, you can control exactly how many digits are shown. However, even though digits might not be shown they are still valid and used in calculations. You can round numbers to only the digits shown by using the RND operation if that is what you would like to do.
All of the buttons for setting the number format mode can be found in the Mode Menu which you can see by pressing the "■Mode" button. On that menu, you are able to chose between the following formats:
There are two special real numbers which are built into the calculator. They are π (pi) and e. The calculator knows their value and gives you a shortcut which you can use to enter them.
In the case of pi, you can press the "■π" button on the right page of buttons, followed by "Enter". You will see 'π' at the top of the stack. You can then operate on that value like you would any other real number, but instead of giving you a result, the calculator will build an "expression" (see the Working With Expressions guide for more information). That means if you add 1 to 'π' on the stack, you will see 'π+1'. At any time, you can press the "■→Num" button to convert that expression into a number.
Similarly for the number e. To enter it, press the "e" button (make sure you are in lower case mode and if not, press the "LC" button first). You will see 'e' at the top of the stack. Again, you can use the "■→Num" button to covert that to a number at any time.
Those are the only two real number constants built into the calculator but you can define your own. Refer to the Working With Symbols guide for more information.
Real numbers in the calculator are stored in double precision floating point format. For people unfamiliar with what that means, it implies limits to how accurate the calculator can be. The symbols MAXR and MINR can help to understand the limits of the calculator. These symbols are the largest positive number and the smallest positive number which can be represented in a real number on the calculator. You can use the "■→Num" button to convert these symbols to numbers if you are curious what they are.
If your result is larger than MAXR or smaller than MINR, the calculator will not give you the result you expect. But, there are also situations where the value of a calculation may not be what you expect. In double precision format, a number can only be represented with up to 16 digits of precision. If you subtract two numbers which you believe to be different but are only different in the digits beyond the first 16, the result may end up being 0 even though you might have expected a non-zero answer. An example of this would be adding 1E20 and 1E-20 and then subtracting 1E20. Even though the answer should be 1E-20, the calculator will give 0 as its answer. The problem is that 1E20 plus 1E-20 is still 1E20 to the calculator. It would need more than 40 digits of precision to accurately add those two numbers. Instead the addition has no affect on the very large number.
For most uses, you don't need to be aware of these kinds of limitations and most calculators have them. But, if you are seeing results you don't expect, this might be why.
There are many operations which you can use when working with real numbers. The standard addition, subtraction, multiplication and division operations are obvious. Here are some links to reference material which are relevant for real numbers: