# \[ANN\] Ruby Calculator (rcalc) version 3.0

**URL:** <https://rubytalk.org/t/ann-ruby-calculator-rcalc-version-3-0/10563>\
**Category:** ruby-talk\
**Created:** [14 March 2004 19:43 UTC](https://rubytalk.org/t/ann-ruby-calculator-rcalc-version-3-0/10563 "2004-03-14T19:43:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josef\_Jupp\_SCHUGT](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Josef\_Jupp\_SCHUGT](https://rubytalk.org/u/Josef_Jupp_SCHUGT)\
**Post date:** [14 March 2004 19:43 UTC](https://rubytalk.org/t/ann-ruby-calculator-rcalc-version-3-0/10563/1 "2004-03-14T19:43:37Z")

</div>

Hi!

Changes since version 2.3:

!"""""""""""""""""""""""""!  
! NEW CONSTANTS/FUNCTIONS !  
!\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_!

- no-number-stack has been added to parser.
- number-stack has been added to parser.
- no-verbose has been added to parser.
- verbose has been added to parser.
- tos-first has been added to parser.
- tos-last has been added to parser.

!""""""""""""""""""""""""""""""""!  
! CHANGED IMPLEMENTATIONS/VALUES !  
!\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_!

- round failed. Fixed.
- sqsolve returned wrong results. Fixed.
- Resulting from a wrong order of arguments passed to the internal  
function epsilon did return the opposite sign of what was  
described in the documentation. Implementation has been fixed.

!""""""""""""""!  
! MISC CHANGES !  
!\_\_\_\_\_\_\_\_\_\_\_\_\_\_!

- Due to a broken regular expression some functions when used  
interactively displayed the general help. Fixed.
- Interactive help did not display help for last command listed.  
Fixed.
- Alternative name flush for clear has been added.
- –no-number-stack command line option has been added. Meaning:  
Don’t number stack.
- –no-verbose command line option has been added. Meaning: Output  
stack only when explicitly told to do so.
- –number-stack command line option has been added that. Meaning:  
Number stack items when printed.
- –tos-first command line option has been added. Meaning: Output of  
stack starts with least recently pushed item.
- –tos-last command line option has been added. Meaning: When  
printing stack first output TOS.
- –verbose command line option has been added. Meaning: Print stack  
after each operation
- –version and -v command line options to display program version  
have been added.

Most changes were initiated by requests I did receive from Michael  
Cheselka.

Homepage: [http://rcalc.rubyforge.org/](http://rcalc.rubyforge.org/)

Josef ‘Jupp’ SCHUGT

> **···**
>
> –  
> E-Mail: .— …- .–. .–. .–.-. --. – -…- .-.-.- -… .  
> [http://oss.erdfunkstelle.de/ruby/](http://oss.erdfunkstelle.de/ruby/) - German comp.lang.ruby FAQ  
> [http://rubyforge.org/users/jupp/](http://rubyforge.org/users/jupp/) - Ruby projects at Rubyforge  
> Fatal error: ICMP type 3, code 4 while accessing [msft.biz](http://msft.biz) .-.-.
