AnalogX PCalc is a true programmer's calculator that allows you to enter any equation in the exact same format as C/C++, and it will process it with the same precedence, giving you the results in a variety of formats. This software also supports the use of user-defined variables, and also has most of the common constants used already defined.