LibBF is a small library to handle arbitrary precision floating point numbers. Its compiled size is about 90 KB of x86 code and has no dependency on other libraries. It is not the fastest library nor the smallest but it tries to be simple while using asymptotically optimal algorithms. The basic arithmetic operations have a near linear running time.
The BFCalc example is a calculator application with a Javascript like syntax. It supports arbitrarily large integers, decimal and binary arbitrary precision floating point numbers, multi-dimensional arrays (matrices and tensors), polynomials, series, unit conversion.
Features:Source code: libbf-2025-06-03.tar.gz.
LibBF has its roots in TinyPI. numcalc.com is a web version of the BFCalc calculator application.
Arbitrary precision floating point libraries: