dtoa
Fast floating point primitive to string conversion
zmij
A double-to-string conversion algorithm based on Schubfach and xjb
fast-float2
Fast floating-point number parser
az
Casts and checked casts
fraction
Lossless fractions and decimals; drop-in float replacement
float_next_after
A trait for native rust f64/f32 nextafter
chinese-number
Convert primitive numbers to Chinese numbers, or parse Chinese numbers to primitive numbers
atomic_float
Floating point types which can be safely shared between threads
assert_float_eq
Assertions for floating-point equality
dragonbox_ecma
Fast floating point to string conversion conforming to ECMAScript specification
hexfloat2
Parse and format IEEE754 floating point hexadecimal syntax
dtoa-short
Serialize float number and truncate to certain precision
dragonbox
Fast floating point to string conversion
test_help-rs
Test helpers for Rust
extended
precision 80-bit floating-point numbers (f80)
cast
Ergonomic, checked cast functions for primitive types
arpfloat
Arbitrary-precision floating point library
rand-float
Techniques for converting streams of random bits into floating-point numbers distributed as a uniform real in the unit interval
oxinum-float
Arbitrary-precision floats for OxiNum (FBig/DBig via dashu-float)
assert-eq-float
assert_eq_float!macros that support floats
ryuu
Fast floating point to string conversion
zmij_ecma
A double-to-string conversion algorithm based on Schubfach and yy
buff-rs
BUFF: Decomposed bounded floats for fast compression and queries
fsum
calculate accurate sum of floats
imagnum
providing versatile numeric types supporting integers and floats designed for the Lucia programming language
ord_subset
Tools for working with the Ord subset of certain PartialOrd types, like floats
floating_bar
Representing rational numbers using the floating-bar number type
special-fun
Special functions for Rust by binding to the Cephes library
precise
Full precision decimal representation of f64
number-general
A generic number type for Rust which supports basic math and (de)serialization
unit-intervals
Constrained f32/f64 wrapper types for normalized [0, 1] and [-1, 1] values
fast-float
Fast floating-point number parser
lower
desugar math where the compiler wont
float-pretty-print
Format f64 for showing to user, not for serialisation
schubfach
algorithm for floating-point to string conversion
no_denormals
Temporarily turn off floating point denormals
strtod
A high precision floating point parser implementation for Rust
zmij-js
A double-to-string conversion algorithm based on Schubfach and xjb -- modified for ECMA-262 compliance
ordered-float-macros
Declarative macros for ordered-float
amplify_apfloat
rustc_apfloat with u256 backend to utilize Octuple precision floating-point format
const-ryu
Fast floating point to string conversion
custom_float
Custom floating-point types
isclose
A collection of trait and macros for comparing approximate equality
frand
Blazingly fast random number generation library
floatguard
checked floating-point arithmetic in Rust, safely elminating NaN and Infinity from floating-point computations
nan-default
Derive macro for defaulting structs with floats to NAN
fixed2float
Fixed point to floating point conversion utility
piston-float
Traits for generic floats in game development
encoder-ryu
Fast floating point to string conversion
floco
validates floats against constraints
approx_eq
A macro for comparing equality of two values up to an arbitrary error in the *relative* difference
teju
Fast floating point to string conversion
float_duration
Floating-point Duration support. Provides quantification for spans of time. Unlike the standard std::time or the chrono crate, this crate aims to provide a fully featured Duration…
inter-val
Mathematical intervals, i.g., [a, b], (a, b), [a, b), and (a, b] on ℝ, and multi-dimensional axis-aligned boxes represented as Cartesian product of intervals
round_float
Round
f64andf32to specified number of decimals
ojcmp
online judge comparer
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
beetle_bits
A collection of bit-based types. Currently only u1 (1bit uint) and f3 (3bit float) are implemented
floating-duration
Converts durations to fractional numbers and allows automatic formatting of durations
herbie-lint
A rustc plugin to check for numerical instability
astro_nalgebra
astro-float for nalgebra
my_r_num
numeric type library that supports automatic optimization for various integer/float types, special values (NaN, positive/negative infinity), and implements common arithmetic operations and type conversions
close-to
providing comparisons with arbitrary precision
hybrid_phi
High-accuracy φ-based hybrid approximation method
saturate
Rust traits for saturating conversion between numeric types
float_fast_print
Fast float-to-string conversion based on the Ryū algorithm by Ulf Adams
umath
ffast-math in rust
unsigned-f64
A wrapper around f64 that guarantees that the value is always non-negative on the type level
ufmt_float
A rough implementation of a writer for f32 and f64 for ufmt
intfloat
Fast and simple hashable float alternative using ints
floaters
generate floating-point numbers in various ways
clnooms
Assembly-level implementation of interesting data types
ananas
Transform arbitrary data to Not-A-Number (NaN) payloads
fmul-to-int
Float multiplication to integer part
float-lerp
Lerp and InverseLerp functions for floats
float-polyfills
Drop-in no_std-compatible polyfills for various f32 and f64 methods
clampf
Clamped floating-point types
pure_decimal
A decimal type with no NaN and Infinity
compute-float
Computes floating point numbers using Eisel-Lemire algolithm
rationalize
float to ratio
total_float_wrap
Floating point wrapper implementing Hash and Ord according to IEEE 754 totalOrd
ufloat
Wrappers around floating point numbers with ufmt trait implementations
extended_matrix_float
Float trait for extended_matrix lib
float
Lightweight wrappers around primitive floating point types
float_sort
sort f32 and f64 vectors safely using total_cmp
float_to_int
Conversions of integer-value floats into integers
floatd
just num_traits::Float + Debug + Display
perfect-decimal
Limited range decimals which serialize as IEE754 floats with no loss of precision
f_times
offering a way to do something float times
value
Type-level constants for generic contexts
safeeft
Safe and branchless error-free transformation algorithms for floating point numbers
efloat
Error-bounded Floating Point
atomicfloat
Atomic float type
Try searching with DuckDuckGo.