Displaying 1 to 20 from 23 results

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.

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.

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

  •    Javascript

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.

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.




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.

node-bigint - Arithmetic on big integers using libgmp

  •    Javascript

This library wraps around libgmp's integer functions to perform infinite-precision arithmetic.You should also consider using bignum, which is based on the bigint api but uses openssl instead of libgmp, which you are more likely to already have on your system.


fixed-width-float - display a float in a fixed-width string

  •    Javascript

Return a string s to display the floating point value n in so many bytes.This code works in the browser with browserify.

linear-algebra - Efficient, high-performance linear algebra for node.js and browsers

  •    Javascript

Efficient, high-performance linear algebra library for node.js and browsers. This is a low-level algebra library which supports basic vector and matrix operations, and has been designed with machine learning algorithms in mind.

perfnow.js - 0.14 kb window.performance.now high resolution timer polyfill with Date fallback

  •    Javascript

perfnow.js is a micro-library written in both CoffeeScript and JavaScript. Safely use microsecond precision timing using this 0.1 kb performance.now polyfill with Date fallback.

PENF - Portability Environment for Fortran poor people

  •    Fortran

A KISS library for exploiting codes portability for modern (2003+) Fortran projects. Fortran is the most popular programming language for scientific computing. With Fortran it is quite simple obtain fast code and manage large multidimensional array. Because Fortran permits the achievement of high performance it is also used on great range of different computer-architectures, and often on the fastest supercomputer in the world. Therefore Fortran programs must be portable: portability means that the code will give the same results on every different computer-architectures. One of the most important goal of the numeric code is to control the numeric error due to finite precision of numerical operations. Fortran uses the IEEE representations. Integers and reals (floating point) are represented with a finite precision. So when the code computes an operation it has a truncation error due to the truncation of the numerical finite representations. For numerical and more in general scientific applications this source of errors must be controlled. The programmer must know which is the precision associated to the code variables. Before the standard Fortran 90/95 there are not any way to select the precision of the numerical variables in a portable fashion.

money-math - jsbn-based arbitrary precision operations on currency amounts "XXX

  •    Javascript

Adds, multiplies the currency amounts, and calculates percentages of amounts. The result of each of those operations is also an amount: a string, strictly matching the /^\-?\d+\.\d\d$/ pattern, like "0.25", "1000.00", or "-42.10". However, in cases when the division is involved — like for percentage calculation — the result is rounded to the whole cent.

decimal

  •    Javascript

The light version of decimal.js, an arbitrary-precision Decimal type for JavaScript. This library is the newest of the family of libraries: bignumber.js, big.js, decimal.js and decimal.js-light. The API is more or less a subset of the API of decimal.js.

geojson-precision - Remove meaningless precision

  •    Javascript

Remove meaningless precision from your GeoJSON. If your coordinates go out to 7+ digits, you are probably misrepresenting your data. Most scenarios in which GeoJSON is useful (i.e. web-related applications) do not require survey-grade precision, and a higher value is placed on a compact file size. Trimming the precision of coordinates can greatly reduce file size, while removing the appearance of fake high precision. geojson is a valid GeoJSON object, and can be of type Point, LineString, Polygon, MultiPoint, MultiPolygon, MultiLineString, GeometryCollection, Feature, or FeatureCollection. If you are unsure whether or not your GeoJSON object is valid, you can run it through a linter such as geojsonhint.

cnl - A Compositional Numeric Library for C++

  •    C++

The library's APIs are developed in colaboration with standardization bodies such as The C++ Standards Committee and members of The Khronos Group Inc. and it serves as a reference implementation for sections of the C++ Numbers Technical Specification. Please read proposals, P0037 and P0554 for more details. Tested on Travis and CircleCI.

DoubleFloats.jl - math with more good bits

  •    Julia

See here for function specific absolute and relative errors over 0:1 and 1:2. In addition to simply using DoubleFloats and going from there, these two suggestions are easily managed and will go a long way in increasing the robustness of the work and reliability in the computational results.

bignumber.js-nolookahead - BigNumber.js version with no look ahead regex for web3.js 0.x.x

  •    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.