👨‍💻 about me home CV/Resume 🖊️ Contact Github LinkedIn I’m a Haskeller 🏆 Best of Haskell abp hCalc bl todo pwd TPG

🆕 Sunday 24. May 2020: Working at EasyMile for more than 3 years. Critical real-time software in C, simulation and monitoring in Haskell ➡️ perfect combo! It’s efficient and funny ;-)
🚌 And we are recruiting! Contact if you are interested in Haskell or embedded softwares (or both).
📰 Sunday 15. December 2019: Playing with Pandoc filters in Haskell. abp should make pp obsolete.

P’Calc - A Programmer’s Calculator using SWI-Prolog

Christophe Delord

28 mai 2020

License

This software is released under the GPL license.

Download

Source: pcalc.tgz

Windows binary: pcalc.exe

Introduction

P’Calc is a calculator designed for my own programmer’s needs, especially dealing with floating point numbers, their IEEE representation and binary and hexadecimal calculus.

P’Calc requires SWI-Prolog to run on Linux. The Windows executable contains a standalone interpretor.

Usage

Linux

Install SWI-Prolog and execute pcalc.pl.

Windows

Just execute pcalc.exe.

Main P’Calc window
Some examples

Documentation

P’Calc is self documented. Just clic the help button and enjoy.

P’Calc help

A lot of operators and functions are available, just scroll the help page to list them all.