Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An RPN calculator written in C

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.textile
Octocat-spinner-32 posty.c
Octocat-spinner-32 posty.h

A simple Reverse Polish Notation, or postfix style calculator.


posty [-v]
	-v	enable stack dumps (for debugging)

In interactive mode, you have two choices:

  • Enter a postfix style expression to be evaluated (supports +, -, /, *, ^, %)
  • Advanced functions: sqrt, sin, cos, tan, asin, acos, atan
  • Support for constants: pi and e
  • Enter :N to set decimal precision, where N is the number of digits displayed to the right of the decimal. Note that this can also be part of an expression.
Something went wrong with that request. Please try again.