👨‍💻 about me home CV/Resume 🖊️ Contact Github LinkedIn I’m a Haskeller 📝 Blog Freedom, privacy, tutorials… 🏆 Best of panda upp Haskell abp pp hCalc bl lapp todo pwd TPG Nextcloud Git BitTorrent

💣 Kick GAFAMs out (✔️ ǝlƃooפ, ✔️ ʞooqǝɔɐℲ, ✔️ uozɐɯ∀): Stop giving our soul and money to evils, be free and respectful!
📰 Friday 2. April 2021: upp is a panda companion. It’s a Lua-scriptable lightweight text preprocessor.
🆕 since December 2020: Playing with the actor model in an embedded multicore context. C imperative components become C stream pure functions with no side effect ➡️ C low level programming with high level pure functional programming properties 🏆
📰 Saturday 30. January 2021: Playing with Pandoc Lua filters in Lua. panda is a lightweight alternative to abp providing a consistent set of Pandoc filters (text substitution, file inclusion, diagrams, scripts, …).
🆕 Sunday 24. May 2020: Working at EasyMile for more than 5 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).

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

Christophe Delord

28 mai 2020


This software is released under the GPL license.


Source: pcalc.tgz

Windows binary: pcalc.exe


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.



Install SWI-Prolog and execute pcalc.pl.


Just execute pcalc.exe.

Main P’Calc window
Some examples


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.