PDC is a programmer-focused desktop calculator following the 'bc' style, delivering advanced functionalities for coding purposes.
PDC has been developed using YACC and C and is free software licensed under the GNU General Public Licence. With the potential to be very useful for programmers, PDC has been tested extensively and is more or less finished.
Some of the key features of PDC include various mathematic and logic operators, as well as bitwise operators, allowing for a wide range of calculations. ANSI C operator precedence is used, and users can prefix numbers with 0b, 0, 0d, and 0x for binary, octal, decimal, and hexadecimal input.
Output numbers can be presented in any number base of 16 or less. Functions are also available to assist with 'bit bashing' and command-line expression evaluation.
To install PDC, users need the GNU Readline library. PDC comes with a simple makefile that should build with no modifications on most Unix-like operating systems. However, users may need to change the compilation flags in some cases. If WITHOUT_READLINE is set on the make command line, PDC can be built without the GNU readline library.
This release of PDC fixes several bugs and typos, including inconsistencies between lssb and decompose, addition of mssb for completeness, and outputting dec, hex, and bin for base 1. Additionally, CHAR_BIT from is used instead of 8.
Overall, PDC is an excellent calculator for programmers, useful for performing a wide range of calculations, regardless of input base.
Version 0.9: N/A