libHOBDCalc

Introduction

libHOBDCalc (Hexadecimal, Octal, Binary, Decimal Calculator) is a little C library for converting decimal values (signed integers or floating-point values) in an string representing the value in following bases.
  • Binary base (2).
  • Octal base (8).
  • Hexadecimal base (16).

The values are converted within a string into the wanted base.

And libHOBDCalc provides the back conversion functions:
from an string representing a value in base 2, 8 or 16 to the corresponding value in decimal base.
That's not all because libHOBDCalc implement the basic operations to apply on the strings in the supported base.
  • Additions from 2 strings representing values in base 2, 8 or 16.
  • Subtractions from 2 strings representing values in base 2, 8 or 16.
  • Multiplications from 2 strings representing values in base 2, 8 or 16.
  • Divisions from 2 strings representing values in base 2, 8 or 16.

Either as integer values or as floating-point values.


Description:

Functions listing


Documentation:

README:

ReadTheDoc online documentation:



Files and useful links:


Actually libHOBDCalc is distributed as an simple zip archive which contains:

  • An autotool implemented building system which should work on all POSIX compliant system.
  • NOTE:

    The archive contains the manpages from the libHOBDCalc library project as complete as possible, instead of HTML documentation.

Credits

Author: Eddie Br├╝ggemann.
Contact: mrcyberfighter@gmail.com
License: GPLv3.
Thank's to my beloved mother, my family and to the doctors.
Stay away from drugs: drugs destroy your brain and your life.