Hypatia RPN Calculator

 

Welcome to Hypatia!

Hypatia is a free, open source, portable programmable calculator for 64bit Windows computers.

This is the documentation for the upcoming version 4.5 (late April or early May 2025).

The currrent version of Hypatia is 4.21.

This documentation is work in progress, last updated April 17, 2025

The Hypatia website is hypatia-rpn.net, please keep checking for updates.

 

HELP doc opens this documentation in Hypatia.

For changes from prior versions see page Release Notes in the Appendix.

 

This documentation is arranged in chapters, with several pages each.

To optimize accessibility for visually impaired users it only uses 7bit ASCII characters, and (apart from monospaced) no text attributes.

 

 

Table of Contents

 

The Basics

What is Hypatia?

Installation

Reverse Polish Notation (RPN)

Input Lines

Input Editor

Hypatia's Files

Viewing and Editing Files

 

First Steps

Simple Calculations

Chain Calculations, $ and $$

Debugging a Calculation

Copy to Clipboard

 

Operators and Constants

1-Argument Operators

2-Argument Operators

n-Argument Operators

Pseudo Operators

Constants

Pseudo Constants

 

Numbers

How to Write Numbers

Output Format

Angles

The Zero Threshold

Integer Bias

 

Variables and User-Defined Constants

Using Variables

Saving Variables

User-Defined Constants

 

Insert Files and User Defined Elements

Insert Files

User-Defined Elements

User-Defined Operators

Notes on User-Defined Elements

 

Results

HY and Accumulation Mode

Result Commands

The Result Buffer

 

Scripts

Introduction to Scripts

IF ... THEN Conditions

Comments

Script Example: Body Mass Index

Script Example: Centimeters to Feet and Inches

 

Loops

The DO Loop Command

Loop Index, Start and End Lines

Exiting a Loop

REPEAT and REPEAT Loops

 

Loop and Script Examples

Loop Example: Body Mass Index

Loop Example: Rectangles

Loop Example: Centimeters-Feet-Inches Table

Loop Example: Iteration (Babylonian Root)

Loop Example: Nested Loops

Loop Example: Monte Carlo Experiments

Loop Example: Fibonacci Sequences

 

Appendix

Commands

Control Symbols and Comments

Command Line Options

Command Line Mode

Technical Notes

Release Notes

Notes on Linux