awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
nefe avatar

nefe/number-precision

0
View on GitHub↗
4,100 stars·325 forks·TypeScript·23 views

Number Precision

number-precision is a JavaScript math library and arbitrary precision arithmetic utility. It provides a set of functions for performing addition, subtraction, multiplication, and division while avoiding the rounding errors common in standard binary floating-point operations.

The project focuses on maintaining controlled decimal precision to ensure consistent mathematical output. This makes it applicable for financial calculations where exact currency values are required, as well as for high precision data processing in scientific or technical reports.

Its capabilities include precise floating-point arithmetic and numeric data normalization through the rounding of values to specific decimal precisions.

Features

  • Arbitrary Precision Arithmetic - Implements an arbitrary precision arithmetic engine using integer-based math to eliminate floating-point errors.
  • Decimal Rounding Utilities - Ships decimal rounding utilities to normalize numeric data to a specific precision.
  • Rounding Utilities - Provides rounding utilities to ensure consistent and predictable mathematical output across calculations.
  • Financial Numeric Precision - Provides the numeric precision necessary to eliminate rounding errors in currency and monetary calculations.
  • Floating Point Arithmetic - Provides precise floating-point arithmetic operations that avoid standard binary rounding errors.
  • Integer Scaling Methods - Provides integer-based scaling by multiplying floating-point numbers by powers of ten to prevent binary rounding errors.
  • JavaScript Math Libraries - Acts as a specialized JavaScript math library providing arbitrary precision calculations for Node.js and browser environments.
  • Precision Normalization Utilities - Provides utilities for rounding numeric values and ensuring consistent mathematical output through controlled precision.
  • Fixed-Point Representations - Uses fixed-point representations by pairing integers with scale factors to ensure predictable output.
  • Decimal Scaling Techniques - Implements decimal-shifted arithmetic by scaling numbers to integers before performing calculations.
  • High Precision Numerical Analysis - Supports high-precision numerical analysis by maintaining a strict number of decimal places for technical reports.

Star history

Star history chart for nefe/number-precisionStar history chart for nefe/number-precision

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Number Precision

These projects share indexed features with Number Precision. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • mikemcl/big.jsMikeMcl avatar

    MikeMcl/big.js

    5,186View on GitHub↗

    big.js is an arbitrary-precision decimal library for JavaScript designed to perform exact decimal arithmetic. It provides a set of tools for high-precision addition, subtraction, multiplication, and division to avoid the rounding errors common in binary floating-point representations. The library allows for the creation of custom number constructors to isolate precision settings and rounding rules for different groups of numbers. It supports configurable global precision and specific rounding behaviors, such as truncate or round half even, for division and power operations. The capability su

    JavaScript
    View on GitHub↗5,186
  • mikemcl/bignumber.jsMikeMcl avatar

    MikeMcl/bignumber.js

    7,004View on GitHub↗

    bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and integers that exceed the limits of standard floating-point numbers. It functions as a decimal arithmetic engine and a math library for calculating square roots, powers, and modular exponentiation. The project provides a base conversion utility capable of parsing and translating numeric values between any base from 2 to 36. It also includes a numeric formatting tool for rendering high-precision values into localized strings with custom separators and notation styles. The libra

    JavaScript
    View on GitHub↗7,004
  • mikemcl/decimal.jsMikeMcl avatar

    MikeMcl/decimal.js

    7,205View on GitHub↗

    decimal.js is a JavaScript arbitrary precision library designed to perform mathematical calculations without the rounding errors associated with standard floating-point numbers. It provides a high-precision math toolkit for executing basic arithmetic and advanced transcendental functions with configurable significant digits. The library implements decimal-based math that supports various rounding modes and arbitrary precision settings. It includes a numeric string parser for converting decimal, hexadecimal, binary, and octal strings into high-precision numeric types, as well as a utility for

    JavaScript
    View on GitHub↗7,205
  • shopspring/decimalshopspring avatar

    shopspring/decimal

    7,242View on GitHub↗

    This is an arbitrary-precision decimal library and fixed-point math implementation used to eliminate floating-point rounding errors. It provides tools for high-precision arithmetic, a numerical analysis toolkit, and a database decimal mapper to ensure numerical accuracy in financial and scientific calculations. The library includes specialized serialization tools to transform high-precision numbers into SQL database types, JSON, and XML formats without losing precision. It also implements a variety of rounding strategies, including banker and cash rounding, and provides mechanisms for decimal

    Gobignumberdecimalsgo
    View on GitHub↗7,242
Compare all 30 related projects→

Frequently asked questions

What does nefe/number-precision do?

number-precision is a JavaScript math library and arbitrary precision arithmetic utility. It provides a set of functions for performing addition, subtraction, multiplication, and division while avoiding the rounding errors common in standard binary floating-point operations.

What are the main features of nefe/number-precision?

The main features of nefe/number-precision are: Arbitrary Precision Arithmetic, Decimal Rounding Utilities, Rounding Utilities, Financial Numeric Precision, Floating Point Arithmetic, Integer Scaling Methods, JavaScript Math Libraries, Precision Normalization Utilities.

Which projects share features with nefe/number-precision?

Projects with overlapping indexed features include: mikemcl/big.js — big.js is an arbitrary-precision decimal library for JavaScript designed to perform exact decimal arithmetic. It… mikemcl/bignumber.js — bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and… mikemcl/decimal.js — decimal.js is a JavaScript arbitrary precision library designed to perform mathematical calculations without the… shopspring/decimal — This is an arbitrary-precision decimal library and fixed-point math implementation used to eliminate floating-point… josdejong/mathjs — Math.js is a comprehensive JavaScript library for scientific, complex, and arbitrary precision calculations. It… masterminds/sprig — Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a…