awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
MikeMcl avatar

MikeMcl/bignumber.js

0
View on GitHub↗
7,004 Stars·753 Forks·JavaScript·MIT·3 Aufrufemikemcl.github.io/bignumber.js↗

Bignumber.js

bignumber.js ist eine JavaScript-Bibliothek für beliebige Präzision, die für mathematische Operationen mit Dezimalzahlen und Ganzzahlen entwickelt wurde, die die Grenzen von Standard-Gleitkommazahlen überschreiten. Sie fungiert als Dezimal-Arithmetik-Engine und Mathe-Bibliothek zur Berechnung von Quadratwurzeln, Potenzen und modularer Exponentiation.

Das Projekt bietet ein Dienstprogramm zur Basiskonvertierung, das numerische Werte zwischen jeder Basis von 2 bis 36 parsen und übersetzen kann. Es enthält zudem ein numerisches Formatierungstool zur Darstellung hochpräziser Werte als lokalisierte Strings mit benutzerdefinierten Trennzeichen und Notationsstilen.

Die Bibliothek deckt ein breites Spektrum an Fähigkeiten ab, einschließlich Arithmetik mit beliebiger Präzision, konfigurierbaren Rundungsregeln und hochpräzisen Wertvergleichen. Sie bietet zudem Tools für die Umwandlung von Dezimalzahlen in Brüche und kryptografisch sichere Zufallszahlengenerierung.

Features

  • Arbitrary Precision Arithmetic - Executes addition, subtraction, multiplication, and division on numbers exceeding standard floating-point limits.
  • Decimal Rounding Utilities - Adjusts numbers to a specific count of decimal places or significant digits using modes like floor or half-even.
  • Base Conversion Utilities - Includes functions for transforming numbers between different numerical bases from 2 to 36.
  • Digit-Array Arithmetic - Performs mathematical operations by manipulating individual digits in an array to simulate manual long-form calculation.
  • Financial Numeric Precision - Handles money and currency values with strict rounding rules and fixed decimal precision to avoid floating-point errors.
  • Exact Value Comparisons - Determines if one number is equal to, greater than, or less than another using exact high-precision comparison.
  • Precision-Tolerant Comparisons - Determines equality or magnitude by comparing digit sequences and exponents instead of using native numeric operators.
  • High-Precision Number Initialization - Initializes high-precision numbers from strings, native numbers, or other bases using exponential notation and separators.
  • JavaScript Math Libraries - Provides a comprehensive set of functions for square roots, powers, and modular exponentiation using arbitrary precision.
  • Numerical Base Conversions - Implements a comprehensive system for parsing and translating numeric values between any base from 2 to 36.
  • Rounding Modes - Applies specific mathematical modes like floor or half-even to truncate high-precision results to a defined scale.
  • Precision Arithmetic - Executes high-precision addition, subtraction, multiplication, and division with configurable rounding modes.
  • String-Based Numeric Storage - Stores numbers as strings of digits to bypass the precision limits and overflow of native floating-point types.
  • Numeric String Extractors - Extracts numeric values from strings containing non-numeric characters such as currency symbols or group separators.
  • Arbitrary Base Conversion - Translates numbers between different bases from 2 to 36, including binary, octal, and hexadecimal representations.
  • Base-Agnostic Numeric Parsing - Processes numeric values in any base from 2 to 36 using a customizable alphabet.
  • Calculation Precision Configurations - Defines global or instance rules for decimal precision, rounding modes, and exponential notation thresholds.
  • Exponential Operations - Provides calculations for square roots, powers with modular exponentiation, and modulo remainders.
  • Localized Numeric Formatting - Converts large or precise numbers into localized strings with custom separators and notation styles.
  • Numeric Data Formatting - Converts raw high-precision numeric values into human-readable strings using localized separators and notation styles.
  • Rational Approximations - Implements algorithms to find the best rational approximation of a decimal value given a denominator limit.
  • Cryptographic Random Number Generators - Produces high-entropy pseudo-random values for security-sensitive applications using cryptographically-secure methods.
  • Numeric Formatting - Provides logic for applying visual separators, localized fixed-point notation, and internationalization patterns to high-precision numbers.
  • Numeric and Math Utilities - Arbitrary-precision decimal and non-decimal arithmetic.

Star-Verlauf

Star-Verlauf für mikemcl/bignumber.jsStar-Verlauf für mikemcl/bignumber.js

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Bignumber.js

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Bignumber.js.
  • mikemcl/decimal.jsAvatar von MikeMcl

    MikeMcl/decimal.js

    7,205Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗7,205
  • mikemcl/big.jsAvatar von MikeMcl

    MikeMcl/big.js

    5,186Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,186
  • nefe/number-precisionAvatar von nefe

    nefe/number-precision

    4,100Auf GitHub ansehen↗

    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 floatin

    TypeScriptfloating-pointnumber-converterrounding-error
    Auf GitHub ansehen↗4,100
  • josdejong/mathjsAvatar von josdejong

    josdejong/mathjs

    15,036Auf GitHub ansehen↗

    Math.js is a comprehensive JavaScript library for scientific, complex, and arbitrary precision calculations. It functions as a symbolic computation engine, a linear algebra toolkit, a statistical analysis library, and a unit conversion system. The project distinguishes itself by providing a symbolic engine capable of parsing, simplifying, and manipulating mathematical expressions algebraically without requiring immediate numerical evaluation. It includes a framework for defining and converting physical quantities with units of measure and automatic prefix support. The library covers a broad

    JavaScript
    Auf GitHub ansehen↗15,036
Alle 30 Alternativen zu Bignumber.js anzeigen→

Häufig gestellte Fragen

Was macht mikemcl/bignumber.js?

bignumber.js ist eine JavaScript-Bibliothek für beliebige Präzision, die für mathematische Operationen mit Dezimalzahlen und Ganzzahlen entwickelt wurde, die die Grenzen von Standard-Gleitkommazahlen überschreiten. Sie fungiert als Dezimal-Arithmetik-Engine und Mathe-Bibliothek zur Berechnung von Quadratwurzeln, Potenzen und modularer Exponentiation.

Was sind die Hauptfunktionen von mikemcl/bignumber.js?

Die Hauptfunktionen von mikemcl/bignumber.js sind: Arbitrary Precision Arithmetic, Decimal Rounding Utilities, Base Conversion Utilities, Digit-Array Arithmetic, Financial Numeric Precision, Exact Value Comparisons, Precision-Tolerant Comparisons, High-Precision Number Initialization.

Welche Open-Source-Alternativen gibt es zu mikemcl/bignumber.js?

Open-Source-Alternativen zu mikemcl/bignumber.js sind unter anderem: mikemcl/decimal.js — decimal.js is a JavaScript arbitrary precision library designed to perform mathematical calculations without the… mikemcl/big.js — big.js is an arbitrary-precision decimal library for JavaScript designed to perform exact decimal arithmetic. It… nefe/number-precision — number-precision is a JavaScript math library and arbitrary precision arithmetic utility. It provides a set of… josdejong/mathjs — Math.js is a comprehensive JavaScript library for scientific, complex, and arbitrary precision calculations. It… adamwdraper/numeral-js — Numeral-js is a JavaScript number formatting library used to convert raw numeric values into human-readable strings… numbers/numbers.js — numbers.js is a comprehensive mathematics library for JavaScript that provides a collection of advanced functions for…