{"adoption": {"forks": 145, "observed_at": "2026-08-28T04:03:11.904087+00:00", "stars": 1006}, "canonical_url": "https://ross.abutalabs.com/products/prb-math", "card": {"archived": false, "artifact_type": "library", "description": "Solidity library for advanced fixed-point math", "domain": ["blockchain", "fintech", "developer-tools"], "enriched": true, "function": ["math", "sdk"], "health_score": 99, "homepage": null, "language": "Solidity", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["PaulRBerg/prb-math"], "name": "PaulRBerg/prb-math", "platform": [], "pushed_at": "2026-08-14T16:33:52+00:00", "repo": "PaulRBerg/prb-math", "stars": 1006, "tags": ["solidity", "smart-contracts", "fixed-point", "defi", "evm", "foundry", "ethereum"], "topics": ["library", "ethereum", "evm", "math", "smart-contracts", "solidity", "decentralized-finance", "defi"], "urls": [], "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"], "what_it_is": "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.", "when_to_avoid": ["you only need simple integer arithmetic", "you prefer binary fixed-point formats like ABDKMath64x64", "you are not developing for the EVM"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/prb-math", "repo": "PaulRBerg/prb-math", "role": "main", "score": 89}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:11.904087+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:12:44.427346+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8fda286315e4d080f38662ec5ecd9d615bcb7db9f5a4c2b1e03d3c22a4c15df0", "fetched_at": "2026-08-28T04:03:11.904087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/PaulRBerg/prb-math"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 72}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1988, "days_push": 19, "days_rel": 30, "gap_med": 108, "n_releases_24m": 4}, "score": 89, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}