Releases: frossm/rpncalc
Release - v2.4.0
Release Notes
Added simple and probably rarely used commands
abs
Absolute Value. Returns the positive value of the top stack item (line 1).int
Integer. Returns the integer portion of the top stack item (line 1). This effectively just removed the decimal portion of the number.
Release v2.3.3
Release Notes
I decided to updated the convert command names to be more representative of what they did.
Old Command Name | New Command Name | Description |
---|---|---|
2mm | in2mm | Converts the value in line1 from inches to millimeters. 2mm command will also work |
2in | mm2in | Converts the value in line1 from millimeters to inches. 2in command will also work |
rad | deg2rad | Convert line1 from degrees into radians. 2rad would also work |
deg | rad2deg | Convert line1 from radians into degrees. 2deg would also work |
This will also make it easier and less confusion if I decide to add other conversions to the program. If you'd like to see any please drop me an email at rpncalc@fross.org
Release v2.3.2
Release Notes
Added two new commands to convert inches to millimeters and millimeters in inches.
mm
: This command assumes the the Line1 item (top of the stack item) is in inches and this command will convert it to millimeters and replace it on the stack.in
: Same as mm, but in reverse. Assume the line1 items is a length in millimeters and will convert that value into inches.
Remember that the u
undo command will undo this action as it does with all of the commands.
Release - v2.2.0
Release Notes
Enhanced the -v
command to query GitHub and display the latest release. Should make it easier for people to see if there is a new release they should get.
If you are a SNAP user, this is unnecessary as you'll always have the latest release.
Release - v2.1.00
Release Notes
- Added -z command line switch to disable colorized output
Release - v1.16.0
Added a new command called clean
which will clear the screen, but retain and re-display the stack. The screen can get busy, and this is a nice housekeeping command to keep things tidy.
Release - v1.15.0
Release notes
Simply added the mem clearall
command. This will clear all of the data in the memory slots. I honestly can't think of a good use to need to do this, but it seemed to be needed for completeness.
I'm about out of ideas to improve this so unless something pops into the gray matter or one of you gives me a good idea, the pace of enhancements will be slowing....
Release - v1.14.0
Release notes
v2020.08.10 focused on improvement to the trigonometry functions. They should now correctly and consistent work with radians and degrees.
sin [rad]
, cos [rad]
, or tan [rad]
:
These commands now assume the number to process is in degrees. If the number you have on the top of the stack (row 1) is in radians, add the rad
parameter.
Example:
33.22
Enter
tan
= .65488031933.22
Enter
tan rad
= -4.20870409
asin [rad]
, acos [rad]
, or atan [rad]
:
These commands will calculate the arc-trig functions of the value on the top of the stack (row 1.) It will be displayed in degrees. If you wish it returned as radians, use the rad
parameter.
Example:
.1234
Enter
acos
= 82.911632822.1234
Enter
acos rad
= 1.447080981
Wrapup
As always, please drop me an email if you have any thoughts or suggestions.
Release - v1.13.0
Release Notes
v2020.08.06 simply added a new command line switch.
-w WIDTH
which will set the width of the program to WIDTH for that session. The width is simply the number of characters of the header information you get when the program starts as well as the status bar that shows up after each entry.
This is useful if you have a small terminal and everything doesn't fit. It does have a minimum so everything can fit and it's default is currently 70 characters.
If there is a desire, I could add this easily as a command within the program, but I just don't think many people will use this very often.
Release - v1.12.0
Just one main change for this release. I added a new command called AddAll (aa [keep]
)
The Add All Command [aa]
aa
: Remove all items on the stack, add them together, and return the result back to the stackaa keep
: Add all items on the stack, but do not remove them. Simply add the total onto the top of the stack
There were a few very minor changes to the help and the code.