Projects / hfloat


hfloat (for huge floats) is a library package for doing calculations with floating point numbers of extreme precision. It is optimised for computations with 1000 to several million digits. The computations can be done in (almost) arbitrary radix. The library contains routines for addition, subtraction, multiplication, division, n-th power, square root, n-th root, logarithm, exponentiation and more. There are implementations of several superlinear converging algorithms for the computation of pi. The computation of 1 million decimal digits of pi takes about 15 seconds on an AMD64/2.2GHz.

Operating Systems

Recent releases

  •  15 Apr 2004 15:22

    Release Notes: Schoenhage's fast variant of the sqrt computation was added. More algorithms for the computation of pi were implemented.

    •  03 Sep 2001 22:51

      Release Notes: This release adds a basic self test, and has various minor improvements with regards to usability and speed.


      Project Spotlight


      A Fluent OpenStack client API for Java.


      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.