# Ghobdcalc

## Introduction

Ghobdcalc (Graphical Hexadecimal Octal Binar Decimal Calculator), is a calculator program based on the developpment files from my library hobdcalc Using GTK+3 as GUI (Graphical User Interface). written in C.

More than a simple pocket calculator but a multibases calculator (bases 16, 8 , 2 and 10) furnishing all the functionnalities of a scientist calculator, with some extra functions...

## Description:

Ghobdcalc support 4 differents bases which you can mix in your calculations:

• The decimal base (base 10).
• The binary base (base 2).
• The octal base (base 8).
• The hexadecimal base (base 16).

So a value is easy convertible from a base to another ; by given a value or by getting the result simply by pressing the corresponding base button in the interface.

The current value will be automatically converted in the target base.

The buttons from the Ghobdcalc interface are:

• The ERASE button for erasing a digit.
• The DELETE button for delete the current value entry field.
• The RESET button for resetting all the fields.
• The ENTER button for execute the operation from the 2 operand. The result will be print in the current set base.
• The REVERT button to commute a result as first operand. In other word to set the last calculation result in the first operand field what permit chain calculations.

• The differents basic operators are:
• The - button (Substraction).
• The × button (Multiplication).
• The % button (Euclidian division).
• The = button (Calculate the result).

• The trigonometric functionnalities are:
• The COS button (Cosine).
• The SIN button (Sine).
• The TAN button (Tangent).
• The ACOS button (Arc cosine).
• The ASIN button (Arc sine).
• The ATAN button (Arc tangent).
• The COSH button (Hyperbolic cosine).
• The SINH button (Hyperbolic sine).
• The TANH button (Hyperbolic tangent).

• With following mathematical functionnalities:
• The SQRT button (Square root).
• The POW button (Power).
• The ABS button (Absolute value).

• Ghobdcalc provide a value memorisation functionnality in which you can navigate into the registered values:
• The MEM ADD button to add a value into the memory of the calculator.
• The MEM DEL button to delete a value from the memory of the calculator.
• The MEM GET button to insert a value from the memory into the current field as value.

• The MEM NAV button to display the current memory value.
• The MEM NAV (+) button to change the current selected memory item.
• The MEM NAV (-) button to change the current selected memory item.

• Finally the SAVING button permit you to register the current operation in order to export the registered operations as a calcluation datasheet.

• Choose the calculation datasheet export format from:
• The formatted text file format: *.txt.
• The c.s.v (Comma Separated Value) format for spreadsheets: *.csv.
• The HTML file format in form of an table and a title: *.html.
• This format is highly configurable

• All files format are following configurable:
• In which base represent every operand. Per default this one in which you register it (Be carefull).
• The notation: in digits or engineer notation.
• Add a prefix to represent the base for base 2, 8 and 16.

Ghobdcalc support signed integer values in range:

From -9223372036854775808 to 9223372036854775807

And the signed floating-points values upto 19 digits.

# Documentation:

Folowing files and usefull links of the Ghobdcalc project are available:

• debian package file.

• Ghobdcalc.deb

• Use gdebi (in preference) or dpkg to install the debian package !

• ``````sudo gdebi Ghobdcalc.deb   # gdebi resolves dependencies.
sudo dpkg -i Ghobdcalc.deb # dpkg doesn't resolves dependencies.``````

• Tarball file containing the sources from Ghobdcalc (POSIX Compliant systems).

• To install on POSIX compliant systems simply type:
``````\$ ./configure
\$ make
\$ make strip # Remove all unneeded symbols.
\$ sudo make install
``````

• github repository:

# Credits

Author: Eddie Brüggemann.
Contact: mrcyberfighter@gmail.com