Spire is a numeric and algebraic library for Scala, offering type-safe, generic, and high-precision arithmetic. It introduces abstractions like Rings, Fields, and Rationals and supports specialized number types (e.g. Rational, Complex, Interval), macros, and seamless integration with Cats for abstract numeric programming.
Features
- Algebraic type classes: Semiring, Ring, Field, NRoot, etc.
- Numeric types including Rational, Complex, Interval, polynomials
- Specialization via macros for performance on JVM
- Generic algorithms over types using implicits and typeclass constraints
- Extra modules: spire-laws for testing, spire-extras for extended types
- Ideal for precision-critical use cases (math, finance, scientific computing)
Categories
LibrariesLicense
MIT LicenseFollow Spire
Other Useful Business Software
Enterprise-grade ITSM, for every business
Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Spire!