Skip to content

ethanbarry/dcrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcrs

This is a simple dc-inspired arbitrary precision calculator. It uses Reverse Polish Notation and a traditional stack-based implementation.

Right now, addition, subtraction, multiplication, division, integer exponentiation of rational bases, and cube and square roots are implemented. The modulo operator is defined, but unimplemented. There are three control characters, 'p', 'c', and 't', which print and clear the stack, and display the top element of the stack, respectively.

There are no registers or macros.

About

An arbitrary-precision calculator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages