C++ Math

Open-source C++ projects categorized as Math

Top 23 C++ Math Projects

  1. GLM

    OpenGL Mathematics (GLM)

    Project mention: Learning OpenGL Part: The End - Model loading | dev.to | 2025-10-26
  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. QuantLib

    The QuantLib C++ library

  4. CGal

    The public CGAL repository, see the README below

  5. ceres-solver

    A large scale non-linear optimization library

  6. Vc

    SIMD Vector Classes for C++

    Project mention: Vc: SIMD Vector Classes for C++ | news.ycombinator.com | 2026-05-28
  7. symengine

    SymEngine is a fast symbolic manipulation library, written in C++

    Project mention: Symbolica 2.0: Programmable Symbols for Python and Rust | news.ycombinator.com | 2026-06-07
  8. hlslpp

    Math library using HLSL syntax with multiplatform SIMD support

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. primesieve

    🚀 Fast prime number generator

    Project mention: Primesieve: Fast Prime Number Generator | news.ycombinator.com | 2026-04-09
  11. GamePhysicsCookbook

    Source code for Game Physics Cookbook

  12. ExprTK

    C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html

    Project mention: Show HN: ExprTk High-Performance C++ Math Expression Parser Evaluation Engine | news.ycombinator.com | 2026-01-16
  13. MathParser.org-mXparser

    Math Parser: Java, C#, C++, Kotlin, Android, and all .NET platforms (Nuget, Maven, CMake). Supports .NET Framework, .NET Core, .NET Standard, Xamarin, and more. Features: rich built-in library of math functions, operators, constants. Flexible in user-defined arguments, functions. Expressions provided as plain text. Easy to use. Well documented.

  14. gcem

    A C++ compile-time math library using generalized constant expressions

  15. rtm

    Realtime Math

  16. XaoS

    Real-time interactive fractal zoomer

  17. muparser

    muparser is a fast math parser library for C/C++ with (optional) OpenMP support.

  18. primecount

    🚀 Fast prime counting function library

  19. UTL

    Collection of self-contained header-only libraries for C++17

  20. Boost.Multiprecision

    Boost.Multiprecision

  21. safe_numerics

    Replacements to standard numeric types which throw exceptions on errors

  22. Sand-Table

    An open-source platform for building DIY sand tables (like the Sisyphus or ZenXY)

  23. Wykobi

    Wykobi C++ Computational Geometry Library https://www.wykobi.com

  24. FastAD

    FastAD is a C++ implementation of automatic differentiation both forward and reverse mode.

  25. maths

    Linear algebra library with vector swizzling, intersection tests and useful functions for games and graphics dev.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Math discussion

Log in or Post with

C++ Math related posts

Index

What are some of the best open-source Math projects in C++? This list will help you:

# Project Stars
1 GLM 11,253
2 QuantLib 7,645
3 CGal 6,062
4 ceres-solver 4,575
5 Vc 1,545
6 symengine 1,416
7 hlslpp 1,161
8 primesieve 1,121
9 GamePhysicsCookbook 1,079
10 ExprTK 1,027
11 MathParser.org-mXparser 954
12 gcem 836
13 rtm 801
14 XaoS 624
15 muparser 532
16 primecount 361
17 UTL 336
18 Boost.Multiprecision 267
19 safe_numerics 222
20 Sand-Table 206
21 Wykobi 184
22 FastAD 122
23 maths 108

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?