rustio rustio.net
46

rain-math-float

v0.1.13 Experimental

Decimal floating-point arithmetic for Rainlang / DeFi smart contracts. Packs a 224-bit signed coefficient and 32-bit signed exponent into a single bytes32, with exact decimal semantics (no NaN, Infinity, or negative zero โ€” operations error on nonsense). Rust bindings delegate to the Solidity reference via an in-memory EVM so on-chain and off-chain results match exactly.

LicenseRef-DCL-1.0 Edition 2021

Quick Verdict

  • โœ“Actively maintained (updated 10d ago)
  • !Pre-1.0: API may have breaking changes

Security

Checking security advisories...
Downloads
11.3K
Dependents
0
Releases
12
Size
78KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

3.3K downloads in the last 30 days (111/day), up 56% from the previous period.

Health Breakdown

Maintenance 19/25

Recency, release consistency, active ratio

Quality 13/25

Yanked ratio, deps, size, maturity, features

Community 1/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 8/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
1/day avg-100%
010203040508/239/109/2810/1611/311/20

Version Adoption

v0.1.7
89%
v0.1.4
8%
v0.1.9
2%
v0.1.12
1%
v0.1.6
0%

Release Timeline

10 releasessince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
10
Less
More

Feature Flags

test-harness

README

Loading README...

Maintainers

Dependencies
13
direct dependencies
Dependents
0
crates depend on rain-math-float