#floating-point

  1. ryu

    Fast floating point to string conversion

    v1.0.18 10.7M #string-conversion #float #no-alloc #floating-point #numbers #decimal #performance
  2. ryu-js

    Fast floating point to string conversion, ECMAScript compliant

    v1.0.1 309K #string-conversion #floating-point #float #javascript #string-formatting #compliant #decimal
  3. rustc_apfloat

    Rust port of C++ llvm::APFloat library

    v0.2.2+llvm-462a31f5a5ab 117K #floating-point #llvm #soft-float #port #precision #compile-time #decimal
  4. dtoa

    Fast floating point primitive to string conversion

    v1.0.9 1.0M #string-conversion #floating-point #float #decimal #no-alloc #primitive #performance
  5. assert_float_eq

    Assertions for floating-point equality

    v1.1.4 14K #floating-point #unit-testing #float #comparison #assertions #equality #macro
  6. atomic_float

    Floating point types which can be safely shared between threads

    v1.1.0 63K #atomic #float #floating-point #atomicf32
  7. noto-sans-mono-bitmap

    pre-rasterized characters from the “Noto Sans Mono” font in different sizes and font weights for multiple unicode ranges. This crate is no_std and needs no allocations or floating…

    v0.3.1 21K #bitmap-font #font #unicode-characters #noto-sans-mono #floating-point #bitmap
  8. lexical-util

    Shared utilities for lexical creates

    v1.0.6 1.2M #numbers #string-parser #string-conversion #format #digits #floating-point #lexical
  9. hexf-parse

    Parses hexadecimal floats (see also hexf)

    v0.2.1 278K #hex #float #floating-point #parser #floats #hexf #decimal-digits
  10. twofloat

    Double-double arithmetic functionality

    v0.8.3 2.0K #floating-point #arithmetic-operations #precision #arithmetic #math #float #numeric
  11. accurate

    (more or less) accurate floating point algorithms

    v0.4.1 5.1K #floating-point #sum #dot-product
  12. noisy_float

    Contains floating point types that panic if they are set to an illegal value, such as NaN

    v0.2.0 96K #floating-point #nan #panic #float #finite #ord #arithmetic-operations
  13. ndhistogram

    multi-dimensional histogramming for Rust

    v0.10.0 360 #histogram #data-analysis #multi-dimensional #statistics #analysis #data #floating-point
  14. f256

    Octuple-precision floating-point arithmetic

    v0.6.0 150 #floating-point #precision #arithmetic #numbers #math #binary-format #decimal-digits
  15. arpfloat

    Arbitrary-precision floating point library

    v0.1.10 #floating-point #precision #numbers #float #rounding #calculations #newton-raphson
  16. float8

    8-bit floating point types for Rust

    v0.1.2 6.9K #floating-point #f8e4m3 #fp8e5m2 #no-std
  17. dragonbox

    Fast floating point to string conversion

    v0.1.8 #string-conversion #floating-point #float #performance #benchmarking #port #no-alloc
  18. serde-hashkey

    Space efficient, in-memory serde serialization which supports hashing

    v0.4.5 2.2K #serialization #key-value-store #serde #hashing #serialize-deserialize #cache #floating-point
  19. stcalc

    Stack calculator

    v1.0.1 #calculator #interpreter #cli #floating-point
  20. amplify_apfloat

    rustc_apfloat with u256 backend to utilize Octuple precision floating-point format

    v0.3.1 1.4K #floating-point #precision #float #numbers #u256 #octuple #backend
  21. fugue

    A binary analysis framework written in Rust

    v0.2.9 270 #binary-analysis #framework #binaries #component #architecture #floating #floating-point
  22. async_labjack

    A pure rust, async interface to the LabJack T-series via Modbus TCP

    v0.1.0 130 #io #read-write #value #floating-point #devices #register #ljm
  23. metallic

    C math functions from scratch

    v0.1.2 #floating-point #logarithm #exponential #trigonometry #special-functions
  24. no_denormals

    Temporarily turn off floating point denormals

    v0.2.0 1.0K #floating-point #dsp #float #flags #denormals #off #temporarily
  25. fpmath

    A floating point math library

    v0.1.1 #floating-point #float #math
  26. float_next_after

    A trait for native rust f64/f32 nextafter

    v1.0.0 200K #increment #floating-point #float #f32 #f64 #nextafter
  27. nearly

    Compare IEEE floating point types

    v0.4.0 170 #floating-point #comparison #equals #compare #float #almost
  28. test_help-rs

    Test helpers for Rust

    v0.1.0 #unit-testing #test-helpers #assertions #floating-point #helper #f64 #f32
  29. supply-chain-trust-example-crate-000026

    Fast floating point to string conversion

    v1.0.18 #float #string-conversion #floating-point #no-alloc #decimal #numbers #ryū
  30. decmathlib-rs

    Port of the Intel Decimal Floating-Point Math Library decimal128 type to Rust

    v0.3.3 140 #decimal #floating-point #math #intel #port #decimal128 #language
  31. sz3

    High level bindings to the SZ3 lossy floating point compressor

    v0.3.0+SZ3-3.2.2 290 #compression #floating-point #lossy #bindings #high #compressor #level
  32. fast-float-compare

    A lightweight benchmark comparing minimal float comparison implementation against rust_decimal

    v0.1.1 100 #comparison #floating-point #decimal #benchmark #performance #compare #order
  33. assert-eq-float

    assert_eq_float! macros that support floats

    v0.1.4 270 #assert-eq #float #floating-point #f32 #f64
  34. strtod

    A high precision floating point parser implementation for Rust

    v0.1.0 #parser #high-precision #float #f64 #parse #floating-point
  35. vax-floating

    VAX floating-point types

    v0.2.0 #floating-point #vax #architecture #types #data #conversion #math
  36. ieee754

    Low-level manipulations of IEEE754 floating-point numbers

    v0.3.0-alpha.2 72K #floating-point #float #numeric #math #mathematical #parallel-iterator #no-std
  37. chikage

    easy to understand and barebones math library for game and graphics development

    v0.2.0 110 #matrix #math #graphics #gamedev #floating-point #rotor #square-matrix
  38. rolling-stats

    Rolling statistics calculations (min/max/mean/std_dev) over arbitrary floating point numbers based on Welford's Online Algorithm

    v0.7.0 850 #statistics #standard-deviation #stats #data #floating-point
  39. deterministic-trigonometry

    Trigonometry without floating point variables to achieve deterministic results across hardware and compilers

    v0.1.1 #deterministic #trigonometry #lockstep #integer-arithmetic #floating-point #math #game
  40. dashu-float

    A big float library supporting arbitrary precision, arbitrary base and arbitrary rounding mode

    v0.4.3 25K #decimal-number #floating-point #big-decimal #decimal #arbitrary-precision #math #mathematical
  41. freebsd-geom-exporter

    Proemtheus exporter for FreeBSD's GEOM device statistics

    v0.1.1 #freebsd #prometheus-exporter #prometheus #prometheus-metrics #geom #monitoring #floating-point
  42. decimal

    floating point arithmetic for Rust

    v2.1.0 2.3K #decimal-number #floating-point #arithmetic #dec-number #numbers #128-bit #finance
  43. pretty_dtoa

    Configurable floating point number to string conversions, with many options for controlling various aspects of displaying floats

    v0.3.0 6.6K #string-conversion #float #display #double #floating-point #dtoa
  44. round-to

    Round floating point to integer

    v0.1.5 #rounding #round #integer #floating-point #to
  45. currency_rs

    handling currencies

    v1.3.0 110 #currency #precision #money #decimal #utilities #floating-point
  46. qd

    Extended precision floating point arithmetic

    v0.6.0 500 #precision #floating-point #math
  47. floaters

    generate floating-point numbers in various ways

    v0.5.0 #floating-point #random #float
  48. checked-float

    making invariant-enforcing floating point wrappers

    v0.1.5 150 #floating-point #invariants #wrapper #checked #operations #float #traits
  49. num-notation

    Offers multiple numeric choices, allowing you to work with various number representations including StandardForm, fractions, and f64 floating-point decimals. This versatile crate empowers…

    v0.1.6 #decimal-number #numbers #fraction #representation #floating-point #standard-form #notation
  50. xyzvec

    Statically allocated fixed-size vectors for working in 2 and 3 dimensions

    v0.1.11 #vector #fixed-size #fixed-point #statically #allocated #dimension #floating-point
  51. float-dbg

    Debug floating point numbers easily

    v0.4.0-alpha.1 #floating-point #debugging #numbers #ieee-754
  52. srmfpa

    Floating-point's four arithmetic operations (including fused multiply-add) and square root with strict rounding mode

    v0.1.1 #floating-point #arithmetic-operations #square-root #rounding-mode #correct-rounding
  53. fast-float-to-integer

    Convert floating point values to integer types faster than the standard as operator

    v0.1.0 #convert #integer #floating #float #conversion #floating-point
  54. encoder-ryu

    Fast floating point to string conversion

    v1.0.16 450 #string-conversion #floating-point #float #no-alloc #decimal #decimal-number #performance
  55. aifc

    Reader and writer for the AIFF and AIFF-C audio format

    v0.5.3 #aiff #audio #audio-samples #reader-writer #codec #read-write #floating-point
  56. gpoint

    Wrapper for using libc’s printf("%g") format for your floating point output

    v0.2.1 23K #printf #floating-point #libc #output #format #f32 #f64
  57. fast_fp

    Floating point fast-math optimizations

    v0.1.3 #compiler-optimization #performance #floating-point #fast-math #operations #primitive #floats
  58. custom_float

    Custom floating-point types

    v0.2.6 210 #floating-point #numbers #ieee-754 #float #number #custom
  59. cql_db

    Core CQL Database functionality - a lightweight array-based database

    v0.2.4 #cql #database #nosql #array #floating-point #time-series #storage
  60. ibmfloat

    IBM floating point number types

    v0.1.1 1.1K #floating-point #ibm #numbers #conversion #converting #values #types
  61. wheel

    algebra library for Rust

    v0.1.0 #algebra #numbers #floating-point
  62. hexf

    Hexadecimal float support for Rust

    v0.2.1 6.4K #hex #floating-point #literals #float #hexf64 #hexf32
  63. crlibm

    Binding to CRlibm, a correctly rounded math lib

    v0.2.0 #floating-point #rounding #libm #science #math #api-bindings
  64. dec-number-sys

    Rust bindings for The decNumber C library by IBM Fellow Mike Cowlishaw

    v0.0.28 420 #decimal #arithmetic #floating #floating-point #api-bindings #point
  65. peroxide-num

    Numerical traits for Peroxide

    v0.1.4 800 #numerical #arithmetic-operations #math #floating-point #mathematical #numerical-computation
  66. ufloat

    Wrappers around floating point numbers with ufmt trait implementations

    v0.1.0 #float #ufmt #no-std #floating-point #no-alloc
  67. core-math

    API for CORE-MATH

    v0.2.0 #floating-point #exponential #logarithm #trigonometry #special-functions
  68. ryu-ecmascript

    Fast floating point to string conversion, suitable for ECMAScript NumberToString

    v0.1.1 1.4K #string-conversion #floating-point #string-formatting #javascript #decimal #numbers #to-string
  69. aprox_eq

    determining aproximate equality between floating point types and deriving this capability to structs comprised of floating point numbers and other implementers of AproxEq

    v2.0.1 #floating-point #equality #numbers #tolerance #determine #error #floats
  70. inari_wasm

    A stripped-down version of Inari library (a Rust implementation of interval arithmetic) compatible with web assembly

    v0.1.2 #wasm #interval #arithmetic #math #numeric #floating-point
  71. currency_rs_isotoxal

    handling currencies uses less lifetimes and more data on heap use currency_rs if you need

    v1.1.3 #currency #precision #money #decimal #utilities #integer #floating-point
  72. pitusya

    Programming Language

    v1.0.4 #programming-language #floating-point #standard #64-bit #numbers #width #manual
  73. nonstdfloat

    Floating point calculations for strafe

    v0.1.1 #statistics #floating-point #model #data #test #plot
  74. is_close

    Determine whether floating point numbers are close in value

    v0.1.3 2.0K #comparison #float #testing #floating-point
  75. core_float

    based on the Rust Core Library and aims to provide an identical set of APIs for f32 and f64 floating-point types

    v0.3.1 #floating-point #cross-platform #f32 #f64 #consistent #api #identical
  76. almost

    comparing floating point numbers

    v0.2.0 5.6K #comparison #floating-point #equals #compare #approximate #float
  77. introsort

    Fast sorting compatible with #[no_std]. Also has (optional) support for efficient and robust sorting of floating point numbers. Currently, introsort only builds on nightly

    v0.6.0 500 #sorting #float #floating-point #algorithm #nightly #robust #numbers
  78. hexponent

    Hexadecimal float parsing

    v0.3.1 140 #hex #parser #literals #floating #floating-point #precision #float-literal
  79. dfp-number-sys

    Rust bindings for Intel® Decimal Floating-Point Math Library

    v0.1.0 380 #floating-point #decimal #arithmetic #math #floating #api-bindings #point
  80. Try searching with DuckDuckGo.

  81. compressed_vec

    Floating point and integer compressed vector library, SIMD-enabled for fast processing/iteration over compressed representations

    v0.1.0 #integer-compression #compression #simd #columnar #float #floating-point #data-structures
  82. fsize

    fsize is aliased to the floating-point type of pointer size

    v1.0.0 #floating-point #pointers #size #pointer-sized #aliased #byte #64-bit
  83. ryu_floating_decimal

    Fast floating point to floating decimal conversion. See the crate 'ryu' for more details

    v0.1.0 9.2K #decimal #floating #convert #ryu #floating-point #f2d #f32
  84. astro_nalgebra

    astro-float for nalgebra

    v0.1.1 #nalgebra #big-float #float #arbitrary-precision #floating-point #linear-algebra #numeric
  85. fpopt

    a wrapper around manipulating floating point flags

    v0.0.3 240 #floating-point #flags #operations #fenv #f-env
  86. allowance

    Rust Datatype to representate the deviation of measures

    v0.10.0 #measure #floating-point #value #math #deviation #representation #datatype
  87. herbie-lint

    A rustc plugin to check for numerical instability

    v1.0.7 #lint #herbie #float #floating-point #compilation #math #plugin
  88. fhex

    providing the ToHex trait for converting floating-point numbers to hexadecimal

    v1.0.0 #hex #floating-point #numbers #traits #representation #f32 #f64
  89. datom-bigdecimal

    Arbitrary precision decimal numbers

    v0.3.1 #decimal-number #arbitrary-precision #decimal #math #floating-point #numeric #mathematics
  90. floatconv

    Floating point conversion functions

    v0.2.8 #conversion #floating #float #floating-point
  91. fenv-bind

    a safe wrapper around fenv.h

    v0.0.4 #floating-point #flags #safe #fenv #operations #f-env #f-round
  92. const-frac

    Types for supporting floating point constants

    v0.0.4 #hobby #const #constants #floating #util-lib #floating-point #frac
  93. float_extras

    Extra floating-point math functions from C math library

    v0.1.6 11K #cmath #floating-point #functions #math
  94. result_float

    Floating point type that cannot store NaN

    v0.2.0 #floating #nan #floating-point #no-std #float #rf #store
  95. real_float

    Floating point types that check for correctness and implement total ordering

    v0.3.0 270 #nan #panic #float #compare #floating-point #order #math
  96. dec-number

    Decimal Floating Point Arithmetic for Rust

    v0.0.4 #floating-point #arithmetic #decimal #ibm #bindings #fellow #mike
  97. extended

    precision 80-bit floating-point numbers (f80)

    v0.1.0 64K #float #floating-point #numbers #80-bit #nan #f80 #infinity
  98. float_math

    Does math on floating point values

    v0.0.3 #floating-point #values #math
  99. hexf-parse-libm

    Parses hexadecimal floats (see also hexf)

    v0.2.1 #hex #float #floats #hexf #literals #floating-point #underscore
  100. twitter/rustcommon-atomics

    Atomic primitives unified by traits

    GitHub 1.0.2 #atomic #operation #traits #types #unified #found #floating-point
  101. f8

    It's a float! It's a unorm! It's only one byte!

    v0.1.2 #byte #unorm #numbers #floating-point #8-bit
  102. bigdecimal-no-std

    Arbitrary precision decimal numbers

    v0.4.0 #arbitrary-precision #decimal #decimal-number #floating-point #math #numeric #mathematics
  103. radix-ecmascript

    Convert floating-point types to string representation as defined in ECMAScript Language Specification Section 9.8.1

    v0.1.0 #javascript #radix #string-representation #floating-point #numbers #convert #section
  104. bigfloppa

    Arbitrary precision decimal numbers

    v0.3.5 #decimal-number #decimal #arbitrary-precision #math #floating-point #numeric #mathematical
  105. srmfpa-berkeley-softfloat-3

    Wrapper of berkeley-softfloat-3 for srmfpa

    v0.1.0 #square-root #arithmetic-operations #floating-point #rounding #strict #fused #srmfpa
  106. total_float_wrap

    Floating point wrapper implementing Hash and Ord according to IEEE 754 totalOrd

    v0.1.1 #total #float #hash #comparison #floating-point #order #data-structures
  107. string_calc

    Perform calculations based on String to avoid floating point errors

    v0.3.0 #error-string #calculations #floating #integer #floating-point #decimal #perform
  108. compute-float

    Computes floating point numbers using Eisel-Lemire algolithm

    v0.1.0 #float #compute #eisel-lemire #floating-point #numbers #algolithm #algorithm
  109. exxact

    drop-in float replacement for exact arithmetic

    v0.1.0 #arithmetic #floating-point #field #replacement #float #root #expressions
  110. ape-table-trig

    implementations of sin, cos, and tan using precalculated tables

    v0.2.0 #trigonometry #embedded #no-std #math #floating-point
  111. rustyard

    A Shunting Yard implementation and calculator. This crate is able to calculate basic math expressions passed to it as strings and return a 64-bit floating point return value.

    v0.6.0 #math #calculator #expression #calculate #shunting-yard #floating-point #reverse-polish-notation
  112. closed01

    checked floating point operations within the range [0,1]

    v0.5.0 #numeric #math #range #floating #operations #floating-point #checked
  113. to_precision

    Write out a float rounded to the given position

    v0.1.2 110 #precision #figure #significant #floating #floating-point #point
  114. fastfloat

    Fast-math wrapper and convenient numeric functions for approximate floating point operations in Rust

    v0.2.2 #floating-point #numeric #scientific-computing #operations #approximate #functions #fast-math
  115. ftoa

    fork of the dtoa crate which writes integer value floats without trailing .0. Fast functions for printing floating-point primitives to an io::Write.

    v0.1.1 210 #primitive #io-write #integer #printing #floating-point #integer-value #decimal
  116. nostdhf

    Polyfills the missing methods on f32 and f64 in no_std environments

    v0.1.1 #floating-point #arithmetic #polyfill #f64 #f32 #methods #environments
  117. geo-validator

    Functionality to validate geo-types MultiPolygon/Polgon according to the OGC rules

    v0.1.3 390 #polygon #ogc #gis #multipolygon #geo #graphics #floating-point
  118. clampf

    Clamped floating-point types

    v0.1.1 #clamp #float #floating-point #value #range #clamped #clamp32
  119. exact-conv

    Exact conversions between integer and floating point types

    v0.2.1 #floating-point #conversion #integer
  120. float

    Lightweight wrappers around primitive floating point types

    v0.1.2 #ord #cmp #wrappers #floating-point #primitive #type #stub
  121. frechet

    basic autodifferentiation

    v0.1.0 #automatic-differentiation #auto-diff #dual-numbers #math #floating-point
  122. poly

    Generic dense polynomials

    v0.1.0 #polynomial #math #polynomials #floating-point #mathematics #numeric
  123. core-math-sys

    Generate bindings to CORE-MATH

    v0.2.0 160 #exponential #floating-point #logarithm #trigonometry #special-functions #generated-bindings #bindings-generator
  124. bigdecimal-rs

    Arbitrary precision decimal numbers

    v0.2.1 #arbitrary-precision #decimal #decimal-number #floating-point #math #numeric #mathematics
  125. histo_fp

    histograms with configurable floating point buckets and floating point samples

    v0.2.1 550 #histogram #mean #stddev #floating-point
  126. softfp

    Software floating point operation library

    v0.1.0 #floating-point #operation #register #rounding #exception #flags #set
  127. numscale

    Trait for scaling numeric types by a floating point number at compile-time

    v0.1.0 #numbers #floating-point #compile-time #numeric #scaling #types