PDC 0.9

A desktop calculator

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
3.1/5 16
Daniel Thompson
ROOT \ Science and Engineering \ Mathematics
PDC is a desktop calculator in the 'bc' style with features designed for programmers. It does not support floating point maths but does provide all the C operators (logical, bitwise, shifts etc.) and implements ISO C operator precedence. Additionally functions are available to perform population counts and byte swaps.

PDC is written in YACC and C and is free software licenced under the GNU General Public Licence. PDC more or less finished and has the potential to be very useful.

Here are some key features of "PDC":

· mathematic operators +, -, *, /, %
· logic operators &&, ||, !
· bitwise operators &, |, ^, ~,
· uses ANSI C operator precedence
· prefix numbers with 0b, 0, 0d and 0x to support binary, octal, decimal and hex regardless of input base
· output numbers in any number base of 16 or less
· functions to assist with 'bit bashing'
· command line expression evaluation


· GNU Readline library


PDC is supplied with a simple makefile. It should build with no modifications on most Unix-like operating systems. However, you may need to change the compilation flags (for example, to remove -Wall) if you are not using gcc.

By default PDC is built against the GNU readline library. If your system does not have the library installed, set WITHOUT_READLINE on the make command line (make WITHOUT_READLINE=1). You'll know if you don't have the library due to all the errors. :-) DJGPP users who have CmdEdit installed can use that instead by setting HAVE_CMDEDIT.

What's New in This Release:

· Fixed bug with > being treated as

Last updated on March 12th, 2008

#desktop calculator #YACC application #math tool #mathematical #YACC #desktop #calculator

Add your review!