Ross ROSS = Recommend OSS · open-source software intelligence for agents

PaulRBerg/prb-math

Some data may be outdated — see provenance labels.

Solidity library for advanced fixed-point math observed · 2026-09-24

github.com/PaulRBerg/prb-math · Solidity · MIT (permissive) observed · 2026-09-24

Health v2 · maintenance only

86/100

  • Activity 96
  • Release rhythm 65
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 108
  • age_days: 2036
  • days_rel: 78
  • days_push: 29
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

1007 stars · 145 forks observed · 2026-09-24

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

PRBMath is a Solidity library for advanced fixed-point arithmetic using signed SD59x18 and unsigned UD60x18 number formats with 18 decimals. It provides gas-efficient, type-safe math functions like logarithms, exponentials, powers, square roots, and overflow-safe mulDiv for smart contract development.

Use cases

  • perform fixed-point math in solidity smart contracts
  • compute logarithms and exponentials on-chain
  • implement defi pricing and interest calculations
  • safe multiplication and division without overflow in solidity
  • type-safe decimal arithmetic for evm contracts

When to choose

  • you need precise decimal math in solidity with 18-decimal fixed-point numbers
  • you want type safety via user-defined value types
  • you need gas-efficient advanced math functions like exp, ln, and sqrt on-chain

When to avoid

  • you only need simple integer arithmetic
  • you prefer binary fixed-point formats like ABDKMath64x64
  • you are not developing for the EVM

Facets

library · maturity stable

math sdk blockchain fintech developer-tools solidity smart-contracts fixed-point defi evm foundry ethereum

1 source

Member repositories

RepositoryRoleHealth v2
PaulRBerg/prb-mathmain86

For agents

markdown · JSON · MCP: product_card(name="PaulRBerg/prb-math")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem