Sha256: dcead3440ca6693d69ff386a7844ca82079df48a02f49baff325e8754c354c8b

Contents?: true

Size: 758 Bytes

Versions: 1

Compression:

Stored size: 758 Bytes

Contents

# reverse-polish-calculator

This is a [RPN](http://en.wikipedia.org/wiki/Reverse_Polish_notation) (Reverse Polish Notation) command line calculator. It supports arithmetic, and *most* of the methods in Ruby's [Math](http://www.ruby-doc.org/core/classes/Math.html) module.

## Synopsis

    $ rpc
    $ 5 # => stack: 5.0
             aggregate: 0
    $ 5 # => stack: 5.0, 5.0
             aggregate: 0
    $ + # => calculated: 5.0 + 5.0
             stack: 
             aggregate: 10.0
             
For more examples, check out the acceptance specs.
    
## Installation

    gem install reverse-polish-calculator

## License

reverse-polish-calculator is released under the MIT license. See LICENSE for details.

## Copyright

Copyright (c) 2011 Justin Ko

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reverse-polish-calculator-0.0.1 README.md