C Math

Open-source C projects categorized as Math

Top 23 C Math Projects

  1. OpenBLAS

    OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

    Project mention: Comparing OpenBLAS and Accelerate on Apple Silicon for BLAS Routines | dev.to | 2025-11-18

    There are several CPU-based BLAS libraries, some of them developed by hardware manifacturers, such as Intel's MKL, AMD's BLIS and Apple's Accelerate. OpenBLAS is an open source library that has the broadest coverage of supported hardware and can be a solid default choice.

  2. SaaSHub

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

    SaaSHub logo
  3. cute_headers

    Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

  4. cglm

    📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

  5. TinyExpr

    tiny recursive descent expression parser, compiler, and evaluation engine for math expressions

    Project mention: TinyExpr: Parser, compiler, and evaluation engine for math expressions | news.ycombinator.com | 2025-10-13
  6. HandmadeMath

    A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify.

    Project mention: Sp.h is the standard library that C deserves | news.ycombinator.com | 2026-05-23

    sp_math.h is, as noted at the top of the file, a repackaging of https://github.com/HandmadeMath/HandmadeMath

    It is not part of the core library. It is certainly not meant as a reference-level implementation of math functions. It's there so you can write an easing function for a game without pulling in libc. It seems like its existence has offended you. If that's the case...I'm sorry? At every possible point, I note as loudly as possible exactly what that library is. I found your tone extremely dismissive and disrespectful and I don't care to engage with that any more than I already have.

  7. zpl

    📐 Pushing the boundaries of simplicity

  8. linmath.h

    a lean linear math library, aimed at graphics programming. Supports vec3, vec4, mat4x4 and quaternions

  9. LibTomMath

    LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.

  10. MIRACL

    MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).

  11. calc

    C-style arbitrary precision calculator

    Project mention: C-style arbitrary precision calculator | news.ycombinator.com | 2026-05-22
  12. tomsfastmath

    TomsFastMath is a fast public domain, open source, large integer arithmetic library written in portable ISO C.

  13. Apophenia

    A C library for statistical and scientific computing

  14. imath

    Arbitrary precision integer and rational arithmetic library (by creachadair)

  15. quich

    Just an advanced terminal calculator.

  16. pg_math

    Statistical Distribution Functions(GNU scientific library) Extension for PostgreSQL

  17. Mathc

    A simple and clean, glsl like, math (linear algebra) header only library for C.

  18. polycalc

    🧮 Polynomial Calculator

  19. ceval

    A C/C++ library for parsing and evaluation of arithmetic expressions.

  20. Math-Quiz

    Solve 20 simple math questions and see how accurate/fast you are!

  21. haskell-igraph

    Haskell bindings to igraph library.

  22. nonlinear-optimization

    Various iterative algorithms for optimization of nonlinear functions.

  23. libttak

    LibTTAK: Next Generation Memory Management

    Project mention: libttak VS mimalloc - a user suggested alternative | libhunt.com/r/libttak | 2026-03-09
  24. matmath

    A simple and efficient module for matrix and vector manipulation. (by Siddhesh-Agarwal)

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 OpenBLAS 7,454
2 cute_headers 5,011
3 cglm 2,943
4 TinyExpr 1,895
5 HandmadeMath 1,566
6 zpl 1,062
7 linmath.h 1,046
8 LibTomMath 791
9 MIRACL 692
10 calc 442
11 tomsfastmath 234
12 Apophenia 206
13 imath 154
14 quich 79
15 pg_math 19
16 Mathc 16
17 polycalc 12
18 ceval 11
19 Math-Quiz 10
20 haskell-igraph 10
21 nonlinear-optimization 7
22 libttak 5
23 matmath 5

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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