decimal.js - An arbitrary-precision Decimal type for JavaScript

  •        90

An arbitrary-precision Decimal type for JavaScript. The library is similar to bignumber.js, but here precision is specified in terms of significant digits rather than decimal places, and all calculations are rounded to the precision (similar to Python's decimal module) rather than just those involving division.



Related Projects

bignumber.js - A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic

  •    Javascript

A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic. If a smaller and simpler library is required see big.js. It's less than half the size but only works with decimal numbers and only has half the methods. It also does not allow NaN or Infinity, or have the configuration options of this library.

big.js - A small, fast JavaScript library for arbitrary-precision decimal arithmetic.

  •    Javascript

A small, fast JavaScript library for arbitrary-precision decimal arithmetic. The little sister to bignumber.js and decimal.js. See here for some notes on the difference between them.

decimal - A high-performance, arbitrary-precision, floating-point decimal library.

  •    Go

decimal is a high-performance, arbitrary precision, floating-point decimal library implementing the General Decimal Arithmetic specification. decimal uses Semantic Versioning. The current version is 3.3.1.

node-bignum - Big integers for Node.js using OpenSSL

  •    Javascript

Arbitrary precision integral arithmetic for Node.js using OpenSSL. This library is based on node-bigint by substack, but instead of using libgmp, it uses the builtin bignum functionality provided by OpenSSL. The advantage is that OpenSSL is already part of Node.js, so this library does not add any external dependency whatsoever.

Big Float C++


Floating point arbitrary precision functions. Includes addition, subtraction, multiplication, and division.

decimal - Arbitrary-precision fixed-point decimal numbers in go

  •    Go

Arbitrary-precision fixed-point decimal numbers in go.NOTE: can "only" represent numbers with a maximum of 2^31 digits after the decimal point.

mpmath - Python library for arbitrary-precision floating-point arithmetic

  •    Python

A Python library for arbitrary-precision floating-point arithmetic. Numerous other people have contributed by reporting bugs, requesting new features, or suggesting improvements to the documentation.

BigInt - Arbitrary-precision arithmetic in pure Swift

  •    Swift

This repository provides integer types of arbitrary width implemented in 100% pure Swift. The underlying representation is in base 2^64, using Array<UInt64>. This module is handy when you need an integer type that's wider than UIntMax, but you don't want to add The GNU Multiple Precision Arithmetic Library as a dependency.

Decimal Precision Extensions


Extension for Decimal data type helps to set a specific precision for decimal number also setting number of decimal places and adding insignificant zeroes

GNU MP wrapper for .NET


A .NET wrapper with simple object interface (written in C#) for GNU MP bignum library ( GNU MP or (short) GMP is ... "...a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is...



An arbitrary-precision decimal number library developed in C#.

proposal-bigint - Arbitrary precision integers in JavaScript

  •    HTML

Thanks for help and feedback on this effort from Brendan Eich, Waldemar Horwat, Jaro Sevcik, Benedikt Meurer, Michael Saboff, Adam Klein, Sarah Groff-Palermo and others. BigInt is a new primitive that provides a way to represent whole numbers larger than 253, which is the largest number Javascript can reliably represent with the Number primitive.

javascript-bignum - Scheme arithmetic library for JavaScript

  •    Javascript

Scheme arithmetic library for JavaScript, Copyright (c) 2010, 2011, 2012 John Tobey Copyright (c) 2009 Matthew Crumley Licensed under the MIT license, file LICENSE. Big integer implementation based on javascript-biginteger, The Scheme language supports "exact" arithmetic and mixing exact with inexact numbers. Several basic operations, including add, subtract, multiply, and divide, when given only exact arguments, must return an exact, numerically correct result. They are allowed to fail due to running out of memory, but they are not allowed to return approximations the way ECMAScript operators may.

DifferentialEquations.jl - Julia suite for high-performance solvers of differential equations

  •    Julia

The well-optimized DifferentialEquations solvers benchmark as the some of the fastest implementations, using classic algorithms and ones from recent research which routinely outperform the "standard" C/Fortran methods, and include algorithms optimized for high-precision and HPC applications. At the same time, it wraps the classic C/Fortran methods, making it easy to switch over to them whenever necessary. It integrates with the Julia package sphere, for example using Juno's progress meter, automatic plotting, built-in interpolations, and wraps other differential equation solvers so that many different methods for solving the equations can be accessed by simply switching a keyword argument. It utilizes Julia's generality to be able to solve problems specified with arbitrary number types (types with units like Unitful, and arbitrary precision numbers like BigFloats and ArbFloats), arbitrary sized arrays (ODEs on matrices), and more. This gives a powerful mixture of speed and productivity features to help you solve and analyze your differential equations faster. For information on using the package, see the stable documentation. Use the latest documentation for the version of the documentation which contains the un-released features.

SQL floating point compare function


Comparison of floating point values in SQL Server not always gives the expected result. With this function, comparison is only done on the first 15 significant digits. Since SQL Server only garantees a precision of 15 digits for float datatypes, this is expected to be se...


  •    DotNet

MPCLI is a library that brings the power of the GNU MP big numbers library to those who use CLS-compliant languages such as C#, F#, and Visual Basic. This library is great for both beginning and experienced developers to use and build upon.

Geolib - Growing library to provide some basic geo functions

  •    Javascript

Library to provide basic geospatial operations like distance calculation, conversion of decimal coordinates to sexagesimal and vice versa, etc. Takes 2 or 4 arguments. First 2 arguments must be objects that each have latitude and longitude properties (e.g. {latitude: 52.518611, longitude: 13.408056}). Coordinates can be in sexagesimal or decimal format. 3rd argument is accuracy (in meters). So a calculated distance of 1248 meters with an accuracy of 100 is returned as 1200 (accuracy 10 = 1250 etc.). 4th argument is precision in sub-meters (1 is meter presicion, 2 is decimeters, 3 is centimeters, etc).

HdrHistogram - A High Dynamic Range (HDR) Histogram

  •    Java

HdrHistogram supports the recording and analyzing sampled data value counts across a configurable integer value range with configurable value precision within the range. Value precision is expressed as the number of significant digits in the value recording, and provides control over value quantization behavior across the value range and the subsequent value resolution at any given level.

Maxima - A Computer Algebra System

  •    Lisp

Maxima is a system for the manipulation of symbolic and numerical expressions, including differentiation, integration, Taylor series, Laplace transforms, ordinary differential equations, systems of linear equations, polynomials, sets, lists, vectors, matrices and tensors. Maxima yields high precision numerical results by using exact fractions, arbitrary-precision integers and variable-precision floating-point numbers. Maxima can plot functions and data in two and three dimensions.

C++ BigInt class

  •    C++

C++ class BigInt that enables the user to work with arbitrary precision integers.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.