Skip to content

zcappai/SRPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

SRPN

The SRPN (Saturated Reverse Polish Notation) calculator is a reverse polish notation calculator with the extra feature that all arithmetic is saturated i.e. when the maximum value that can be stored in a variable is reached, then the variable remains at that maximum value rather than wrapping around.

This investigative project involved the creation of an SRPN calculator by replicating an SRPN calculator that was provided by lecturers, including exact error messages. But, the code of the provided SRPN calculator was not visible or accessible, and therefore, therefore the functionality could only be replicated by:

  1. Providing the calculator with inputs
  2. Reading the outputs for the given inputs
  3. Deducing the functionality

Languages:

Python

About

Investigative project at University of Bath to create an SRPN (Saturated Reverse Polish Notation) calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages