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

typelevel/spire

Powerful new number types and numeric abstractions for Scala. observed · 2026-08-28

github.com/typelevel/spire · homepage · Scala · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

65/100

  • Activity 94
  • Release rhythm 8
  • Longevity 100
How is this computed?

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

  • gap_med: n/a
  • age_days: 5417
  • days_rel: n/a
  • days_push: 37
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1772 stars · 239 forks observed · 2026-08-28

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

Spire is a numeric library for Scala providing powerful new number types (like Rational, Complex, and more) and generic numeric abstractions via type classes. It aims to be fast and precise, using specialization and macros so generic code performs like hand-written numeric code.

Use cases

  • perform exact arithmetic with rational numbers in Scala
  • write generic numeric algorithms without baking in a numeric type
  • use complex numbers, intervals, and other number types in Scala
  • avoid boxing overhead in generic numeric code
  • implement math-heavy libraries with type class abstractions

When to choose

  • you need precise or arbitrary-precision numeric types on the JVM or Scala.js
  • you want generic numeric code with performance comparable to direct implementations
  • you're in the Typelevel/Scala ecosystem and want algebraic type classes

When to avoid

  • you're not working in Scala
  • you only need simple built-in Int/Double arithmetic
  • you need GPU or vectorized numeric computing

Facets

library · maturity active

math serialization programming-languages mathematics jvm jvm-scripting numeric-types typeclasses scala specialization rational-numbers complex-numbers algorithms

2 sources

Member repositories

RepositoryRoleHealth v2
typelevel/spiremain65

For agents

markdown · JSON · MCP: product_card(name="typelevel/spire")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem