Topic: "floating-point"
fmtlib/fmt
A modern formatting library
Language: C++ - Size: 15.9 MB - Last synced at: 2 days ago - Pushed at: 3 days ago - Stars: 21,681 - Forks: 2,623

nefe/number-precision
🚀1K tiny & fast lib for doing addition, subtraction, multiplication and division operations precisely
Language: TypeScript - Size: 325 KB - Last synced at: 14 days ago - Pushed at: 11 months ago - Stars: 4,058 - Forks: 327

mpmath/mpmath
Python library for arbitrary-precision floating-point arithmetic
Language: Python - Size: 17.6 MB - Last synced at: 1 day ago - Pushed at: 6 days ago - Stars: 1,017 - Forks: 190

herbie-fp/herbie
Optimize floating-point expressions for accuracy
Language: HTML - Size: 81.3 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 795 - Forks: 38

LLNL/zfp
Compressed numerical arrays that support high-speed random access
Language: C++ - Size: 4.07 MB - Last synced at: 10 days ago - Pushed at: 15 days ago - Stars: 794 - Forks: 163

powturbo/TurboPFor-Integer-Compression
Fastest Integer Compression
Language: C - Size: 5.9 MB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 793 - Forks: 113

flintlib/arb
Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
Language: C - Size: 9.98 MB - Last synced at: 12 months ago - Pushed at: about 1 year ago - Stars: 457 - Forks: 135

abdk-consulting/abdk-libraries-solidity
Open-Source Libraries for Solidity by ABDK Consulting
Language: Solidity - Size: 21.5 KB - Last synced at: 3 days ago - Pushed at: about 1 year ago - Stars: 410 - Forks: 114

Maratyszcza/FP16
Conversion to/from half-precision floating point formats
Language: C++ - Size: 127 KB - Last synced at: 2 days ago - Pushed at: 9 months ago - Stars: 347 - Forks: 96

Alexhuszagh/rust-lexical
Fast numeric to- and from-string conversion routines.
Language: Rust - Size: 124 MB - Last synced at: 5 days ago - Pushed at: 3 months ago - Stars: 323 - Forks: 40

mourner/robust-predicates
Fast robust predicates for computational geometry in JavaScript
Language: JavaScript - Size: 479 KB - Last synced at: 12 days ago - Pushed at: 10 months ago - Stars: 307 - Forks: 17

aldanor/fast-float-rust
Super-fast float parser in Rust (now part of Rust core)
Language: Rust - Size: 224 KB - Last synced at: 15 days ago - Pushed at: over 2 years ago - Stars: 273 - Forks: 19

VoidStarKat/half-rs
Half-precision floating point types f16 and bf16 for Rust.
Language: Rust - Size: 622 KB - Last synced at: 3 days ago - Pushed at: 15 days ago - Stars: 248 - Forks: 59

wrandelshofer/FastDoubleParser
A Java port of Daniel Lemire's fast_float project
Language: Java - Size: 16.9 MB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 167 - Forks: 18

brendanzab/approx
Approximate floating point equality comparisons and assertions
Language: Rust - Size: 119 KB - Last synced at: 5 days ago - Pushed at: about 1 year ago - Stars: 163 - Forks: 36

JuliaMath/DoubleFloats.jl
math with more good bits
Language: Julia - Size: 3.09 MB - Last synced at: 11 days ago - Pushed at: 28 days ago - Stars: 161 - Forks: 33

Kimbatt/soft-float-starter-pack
Software implementation of floating point numbers and operations
Language: C# - Size: 34.2 KB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 135 - Forks: 24

LLNL/fpzip
Lossless compressor of multidimensional floating-point arrays
Language: C++ - Size: 65.4 KB - Last synced at: 18 days ago - Pushed at: almost 5 years ago - Stars: 111 - Forks: 16

ProfJski/FloatCompMandelbrot
What impact does floating point precision have on Mandelbrot set calculations?
Language: C++ - Size: 10 MB - Last synced at: 4 days ago - Pushed at: almost 2 years ago - Stars: 107 - Forks: 2

abolz/Drachennest
Different algorithms for converting binary to decimal floating-point numbers
Language: C++ - Size: 5.25 MB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 100 - Forks: 7

Flight-School/Guide-to-Swift-Numbers-Sample-Code 📦
Xcode Playground Sample Code for the Flight School Guide to Swift Numbers
Language: Swift - Size: 94.7 KB - Last synced at: 24 days ago - Pushed at: almost 6 years ago - Stars: 98 - Forks: 5

JeffreySarnoff/ArbNumerics.jl
extended precision math, accurate and performant
Language: Julia - Size: 16 MB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 85 - Forks: 17

Zeda/z80float
A fairly complete floating point library for the Z80 ! Includes 24-, 32-, and 80-bit formats.
Language: Assembly - Size: 642 KB - Last synced at: 3 months ago - Pushed at: almost 4 years ago - Stars: 82 - Forks: 11

alkis/decimal
Decimal Floating Point arithmetic for rust
Language: C - Size: 7.27 MB - Last synced at: 19 days ago - Pushed at: about 2 years ago - Stars: 80 - Forks: 27

olson-sean-k/decorum
Making floating-point behave.
Language: Rust - Size: 313 KB - Last synced at: 11 days ago - Pushed at: 5 months ago - Stars: 79 - Forks: 9

verificarlo/verificarlo
A tool for debugging and assessing floating point precision and reproducibility.
Language: C - Size: 13.8 MB - Last synced at: 3 days ago - Pushed at: 3 months ago - Stars: 76 - Forks: 25

apache/commons-numbers
Apache Commons Numbers
Language: Java - Size: 29.7 MB - Last synced at: 2 days ago - Pushed at: 5 days ago - Stars: 74 - Forks: 60

x448/float16
float16 provides IEEE 754 half-precision format (binary16) with correct conversions to/from float32
Language: Go - Size: 178 KB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 73 - Forks: 8

clemensmanert/fas
A floating point arithmetic which works with types of any mantissa, exponent or base in modern header-only C++.
Language: C++ - Size: 40 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 73 - Forks: 3

JuliaMath/DecFP.jl
Julia IEEE decimal floating-point via the Intel decimal-float library
Language: Julia - Size: 185 KB - Last synced at: 5 days ago - Pushed at: 2 months ago - Stars: 62 - Forks: 22

taneroksuz/fpu
IEEE 754 single and double precision floating point library in systemverilog and vhdl
Language: VHDL - Size: 292 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 61 - Forks: 10

govalues/decimal
Immutable floating-point decimals for Go
Language: Go - Size: 180 KB - Last synced at: 8 months ago - Pushed at: 8 months ago - Stars: 60 - Forks: 5

powturbo/Turbo-Transpose
Transpose: SIMD Integer+Floating Point Compression Filter
Language: C - Size: 287 KB - Last synced at: about 1 month ago - Pushed at: over 5 years ago - Stars: 59 - Forks: 8

hukenovs/fp23fftk
Floating point Forward/Inverse Fast Fourier Transform (FFT) IP-core for newest Xilinx FPGAs (Source lang. - VHDL).
Language: VHDL - Size: 1.27 MB - Last synced at: 20 days ago - Pushed at: almost 3 years ago - Stars: 58 - Forks: 18

edf-hpc/verrou
floating-point errors checker
Language: C - Size: 8.9 MB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 56 - Forks: 14

JuliaMath/NaNMath.jl
Julia math built-ins which return NaN and accumulator functions which ignore NaN
Language: Julia - Size: 104 KB - Last synced at: 2 days ago - Pushed at: 20 days ago - Stars: 56 - Forks: 29

metalibm/metalibm
Code generation tool to generate mathematical libraries
Language: Python - Size: 8.36 MB - Last synced at: 27 days ago - Pushed at: about 1 month ago - Stars: 55 - Forks: 11

AdamWhiteHat/BigDecimal
An arbitrary-precision decimal (base 10) floating-point number class. Over 4.5 million downloads on NuGet!
Language: C# - Size: 2.33 MB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 55 - Forks: 16

artecs-group/PERCIVAL
Open-Source Posit RISC-V Core with Quire Capability
Language: C++ - Size: 33.5 MB - Last synced at: 24 days ago - Pushed at: 3 months ago - Stars: 55 - Forks: 12

andybbruno/TSXor
TSXor: A Simple Time Series Compression Algorithm
Language: C++ - Size: 16.2 MB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 52 - Forks: 5

Flight-School/FloatingPointApproximation 📦
A correct way to determine if two floating-point numbers are approximately equal to one another in Swift
Language: Swift - Size: 19.5 KB - Last synced at: 3 days ago - Pushed at: almost 6 years ago - Stars: 52 - Forks: 0

sugawarayuuta/refloat
Float parser that sacrifices nothing.
Language: Go - Size: 44.9 KB - Last synced at: 10 months ago - Pushed at: about 1 year ago - Stars: 51 - Forks: 2

FPHDL/fphdl
VHDL-2008 Support Library
Language: VHDL - Size: 1.18 MB - Last synced at: about 1 year ago - Pushed at: over 8 years ago - Stars: 51 - Forks: 21

celerity/ndzip
A High-Throughput Parallel Lossless Compressor for Scientific Data
Language: C++ - Size: 628 KB - Last synced at: about 1 year ago - Pushed at: about 2 years ago - Stars: 48 - Forks: 12

jeffhammond/vpu-count
Information about AVX-512 support on recent Intel processors
Language: C - Size: 63.5 KB - Last synced at: 9 days ago - Pushed at: about 3 years ago - Stars: 45 - Forks: 3

sgherbst/svreal
Synthesizable real number library in SystemVerilog, supporting both fixed- and floating-point formats
Language: SystemVerilog - Size: 253 KB - Last synced at: 5 days ago - Pushed at: over 4 years ago - Stars: 44 - Forks: 8

dpiparo/vdt
A math library of fast, approximate and vectorisable trascendental functions
Language: C++ - Size: 209 KB - Last synced at: 13 days ago - Pushed at: 20 days ago - Stars: 42 - Forks: 18

microsoft/same-ish
A Clojure library for approximate comparison of floating point types
Language: Clojure - Size: 442 KB - Last synced at: 3 days ago - Pushed at: 2 months ago - Stars: 42 - Forks: 11

suoglu/Fixed-Floating-Point-Adder-Multiplier
16-bit Adder Multiplier hardware on Digilent Basys 3
Language: Verilog - Size: 140 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 42 - Forks: 11

Lombiq/Arithmetics
Hastlayer-compatible arithmetics package. Includes the .NET implementation of the unum and posit number formats that can be transformed into specialized hardware with Hastlayer (https://hastlayer.com). On unum and posit see: https://posithub.org/.
Language: C# - Size: 1.66 MB - Last synced at: 8 days ago - Pushed at: 6 months ago - Stars: 41 - Forks: 5

db47h/decimal
An arbitrary-precision decimal floating-point arithmetic package for Go
Language: Go - Size: 455 KB - Last synced at: 9 months ago - Pushed at: over 2 years ago - Stars: 40 - Forks: 3

JuliaMath/ChangePrecision.jl
macro to change the default floating-point precision in Julia code
Language: Julia - Size: 42 KB - Last synced at: 13 days ago - Pushed at: over 1 year ago - Stars: 39 - Forks: 7

lifthrasiir/hexf
Hexadecimal float support for Rust
Language: Rust - Size: 35.2 KB - Last synced at: 4 days ago - Pushed at: 5 months ago - Stars: 38 - Forks: 11

KarenUllrich/pytorch-binary-converter
Turning float tensors to binary tensors according to IEEE-754 standard.
Language: Python - Size: 29.3 KB - Last synced at: 21 days ago - Pushed at: almost 6 years ago - Stars: 38 - Forks: 10

thoughtworks/hardposit-chisel3
Chisel library for Unum Type-III Posit Arithmetic
Language: C++ - Size: 4.31 MB - Last synced at: about 22 hours ago - Pushed at: 21 days ago - Stars: 37 - Forks: 9

unageek/inari
A Rust implementation of interval arithmetic (IEEE 1788)
Language: Rust - Size: 760 KB - Last synced at: 16 days ago - Pushed at: 3 months ago - Stars: 37 - Forks: 2

utahplt/TrackedFloats.jl
Julia library providing tracking of floating point errors through a program resources
Language: Julia - Size: 683 KB - Last synced at: 12 days ago - Pushed at: 4 months ago - Stars: 37 - Forks: 3

jtempest/float_eq-rs
Compare IEEE floating point values for equality.
Language: Rust - Size: 5.25 MB - Last synced at: 12 months ago - Pushed at: over 1 year ago - Stars: 37 - Forks: 6

clarity20/shellmath
Yes, Virginia, you can do floating-point arithmetic in Bash!
Language: Shell - Size: 241 KB - Last synced at: 8 days ago - Pushed at: over 1 year ago - Stars: 35 - Forks: 3

huonw/fast-math
Fast, approximate versions of mathematical functions
Language: Rust - Size: 559 KB - Last synced at: 11 days ago - Pushed at: about 6 years ago - Stars: 35 - Forks: 7

seung-lab/fpzip
Cython bindings for fpzip, a floating point image compression algorithm.
Language: C++ - Size: 982 KB - Last synced at: 3 days ago - Pushed at: about 1 month ago - Stars: 34 - Forks: 5

LLNL/FPChecker
A dynamic analysis tool to detect floating-point errors in HPC applications.
Language: Python - Size: 8.24 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 33 - Forks: 4

epam/DFP Fork of deltixlab/DFP
Java/.NET implementation of Intel IEEE-754 compliant decimal-float library
Language: Java - Size: 7.77 MB - Last synced at: 17 days ago - Pushed at: about 2 months ago - Stars: 30 - Forks: 2

Mabi19/numbers
An interactive exploration of various number formats
Language: TypeScript - Size: 759 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 30 - Forks: 2

yahya-mohammed07/Kraken
Kraken is an open-source modern math library that comes with a fast-fixed matrix class and math-related functions.
Language: C++ - Size: 269 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 29 - Forks: 1

JeffreySarnoff/AngleBetweenVectors.jl
An accurate and stable calculation of the angle separating two vectors.
Language: Julia - Size: 120 KB - Last synced at: 12 days ago - Pushed at: almost 2 years ago - Stars: 29 - Forks: 4

aclex/floaxie
Floating point printing and parsing library based on Grisu2 and Krosh algorithms
Language: C++ - Size: 11.3 MB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 29 - Forks: 4

taneroksuz/fpu-sp
IEEE 754 single precision floating point library in systemverilog and vhdl
Language: VHDL - Size: 203 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 28 - Forks: 3

RaulMurillo/deep-pensieve
A Deep Learning Framework for the Posit Number System
Language: Python - Size: 117 MB - Last synced at: 17 days ago - Pushed at: 9 months ago - Stars: 28 - Forks: 5

huonw/ieee754
Low-level manipulations of IEEE754 floating-point numbers.
Language: Rust - Size: 639 KB - Last synced at: 11 days ago - Pushed at: almost 2 years ago - Stars: 28 - Forks: 4

szcompressor/cuSZp
Fast GPU error-bounded lossy compressor for floating-point data.
Language: Cuda - Size: 92.8 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 27 - Forks: 10

canbula/ieee754
Python module which finds the IEEE-754 representation of a floating point number.
Language: Python - Size: 85.9 KB - Last synced at: 28 days ago - Pushed at: about 1 year ago - Stars: 27 - Forks: 5

benibela/bigdecimalmath
Pascal library for arbitrary precision BCD floating point numbers
Language: Pascal - Size: 555 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 27 - Forks: 15

shibatch/tlfloat
C++ template library for floating point operations
Language: C++ - Size: 674 KB - Last synced at: 5 days ago - Pushed at: 6 days ago - Stars: 26 - Forks: 2

HPCguy/Squint
Squint: A peephole optimizer for stack VM compilers
Language: C - Size: 628 KB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 25 - Forks: 1

Daninet/gmp-wasm
Arbitrary-precision Integer, Rational and Float types based on the GMP and MPFR libraries
Language: TypeScript - Size: 1.55 MB - Last synced at: 3 days ago - Pushed at: 10 months ago - Stars: 23 - Forks: 4

Mariotti94/BigFloat
Arbitrary-Precision Floating Point Arithmetic Library [C++]
Language: C++ - Size: 24.4 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 23 - Forks: 7

soarlab/FPTaylor
Tool for Rigorous Estimation of Round-Off Floating-Point Errors
Language: OCaml - Size: 1.51 MB - Last synced at: over 1 year ago - Pushed at: about 4 years ago - Stars: 23 - Forks: 9

kkimdev/ieee754-types
Single header file C++ library that provides IEEE 754 floating point types.
Language: C++ - Size: 35.2 KB - Last synced at: about 2 years ago - Pushed at: over 4 years ago - Stars: 23 - Forks: 6

abenkhadra/gosat
SMT solver for the theory of floating-point arithmetic
Language: C++ - Size: 73.2 KB - Last synced at: over 1 year ago - Pushed at: about 7 years ago - Stars: 23 - Forks: 8

herbie-fp/odyssey
A platform for exploring floating-point expressions :boat:
Language: TypeScript - Size: 28.7 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 22 - Forks: 1

m-vokhm/Quadruple
A 128-bit floating-point arithmetic for Java
Language: Java - Size: 1.6 MB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 22 - Forks: 3

apytypes/apytypes
APyTypes - Algorithmic data types for Python
Language: C++ - Size: 15.5 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 21 - Forks: 2

LeventErkok/crackNum
Convert to/from IEEE-754 HP/SP/DP formats
Language: Haskell - Size: 141 KB - Last synced at: 14 days ago - Pushed at: 5 months ago - Stars: 21 - Forks: 8

ma3mool/goldeneye
GoldenEye is a functional simulator with fault injection capabilities for common and emerging numerical formats, implemented for the PyTorch deep learning framework.
Language: Python - Size: 97.7 KB - Last synced at: 11 months ago - Pushed at: 11 months ago - Stars: 20 - Forks: 8

fengwang/float16_t Fork of acgessler/half_float
CPP20 implementation of a 16-bit floating-point type mimicking most of the IEEE 754 behavior. Single file and header-only.
Language: C++ - Size: 204 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 19 - Forks: 5

DW0RKiN/Floating-point-Library-for-Z80
Floating-Point Arithmetic Library for Z80
Language: Assembly - Size: 8.32 MB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 19 - Forks: 3

fbenz/FpDebug
Dynamic Program Analysis based on Valgrind to find Floating-Point Accuracy Problems
Language: Shell - Size: 20.9 MB - Last synced at: about 2 years ago - Pushed at: about 2 years ago - Stars: 19 - Forks: 10

govalues/money
Immutable monetary amounts and exchange rates for Go
Language: Go - Size: 218 KB - Last synced at: 9 months ago - Pushed at: 9 months ago - Stars: 18 - Forks: 3

devlinzhou/deterministic_float
fast soft float-point for deterministic computing,高性能、一致性计算的软件浮点数
Language: C++ - Size: 513 KB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 18 - Forks: 2

davidmartinez10/bigfloat
A library for arbitrary precision decimal floating point arithmetic.
Language: TypeScript - Size: 146 KB - Last synced at: 7 days ago - Pushed at: about 3 years ago - Stars: 18 - Forks: 1

ajtribick/twofloat
A double-double arithmetic library for Rust
Language: Rust - Size: 310 KB - Last synced at: 14 days ago - Pushed at: 3 months ago - Stars: 17 - Forks: 8

srknzl/bigdecimal.js
BigInt based BigDecimal implementation
Language: JavaScript - Size: 33.3 MB - Last synced at: 9 days ago - Pushed at: 12 months ago - Stars: 17 - Forks: 5

Daniel-Abrecht/IEEE754_binary_encoder
A C library for converting float and double values to binary
Language: C - Size: 1.95 KB - Last synced at: 12 months ago - Pushed at: over 2 years ago - Stars: 17 - Forks: 9

hVHDL/hVHDL_floating_point
high level VHDL floating point library for synthesis in fpga
Language: VHDL - Size: 206 KB - Last synced at: about 21 hours ago - Pushed at: about 2 months ago - Stars: 16 - Forks: 2

boa-dev/ryu-js
Fast floating point to string conversion that complies to the ECMAScript number-to-string algorithm
Language: Rust - Size: 1.12 MB - Last synced at: 4 days ago - Pushed at: about 2 months ago - Stars: 16 - Forks: 1

hanmindev/Hmmm
Hanmin's Minecraft Math Module | Floating-Point Arithmetic for Minecraft's Function Format! (and more!)
Language: mcfunction - Size: 229 KB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 16 - Forks: 3

St-Maxwell/ryu_fortran
A Fortran implementation of Ryu algorithm
Language: Fortran - Size: 5.96 MB - Last synced at: 2 months ago - Pushed at: about 2 years ago - Stars: 16 - Forks: 1

Ada-Audio/audio_wavefiles
Ada Wavefile Library
Language: Ada - Size: 1.11 MB - Last synced at: about 2 years ago - Pushed at: over 2 years ago - Stars: 16 - Forks: 1

Jonny-exe/binary-fractions
A Python package for floating-point binary fractions. Do math in base 2!
Language: Python - Size: 375 KB - Last synced at: 14 days ago - Pushed at: over 2 years ago - Stars: 16 - Forks: 4
