XFloat : Arbitrary-Precision Arithmetic Library for JS

Written by Integralus


XFloat is a javascript library for high precision number arithmetic. JavaScript embedded floating-point operations are performed with 53-bit precision. Therefore, it is tricky to use JavaScript to perform a more precise arithmetic.

A goal of XFloat is to overcome these limitations and provide more precise and fast arithmetic. You can easily use XFloat library to perform high precision operations. Whoever wants can use XFloat for free according to BSD License.

Here you can download the latest version.

A brief Look

Here is an example of calculating Pi.


The API documentation for the library can be found here.

Other languages