C Math

Open-source C projects categorized as Math

Top 23 C Math Projects

  • OpenBLAS

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

    Project mention: Learn x86-64 assembly by writing a GUI from scratch | news.ycombinator.com | 2023-06-01

    Yeah. I'm going to be helping to work on expanding CI for OpenBlas and have been diving into this stuff lately. See the discussion in this closed OpenBlas issue gh-1968 [0] for instance. OpenBlas's Skylake kernels do rely on intrinsics [1] for compilers that support them, but there's a wide range of architectures to support, and when hand-tuned assembly kernels work better, that's what are used. For example, [2].

    [0] https://github.com/xianyi/OpenBLAS/issues/1968

    [1] https://github.com/xianyi/OpenBLAS/blob/develop/kernel/x86_6...

    [2] https://github.com/xianyi/OpenBLAS/blob/23693f09a26ffd8b60eb...

  • cute_headers

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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • cglm

    📽 Highly Optimized Graphics Math (glm) for C

    Project mention: converting a vec4 into a mat4 | /r/opengl | 2023-03-02

    It's too bad you are using C. If you were using C++, you could use teh fantastic GLM library, which implements the vector math stuff from GLSL as CPU/C++ code. you might want to have a look at CLGM: https://github.com/recp/cglm

  • zig-gamedev

    Building game development ecosystem for @ziglang!

    Project mention: Zig for gamedev? | /r/Zig | 2023-04-15

    Two game frameworks in the making: https://github.com/michal-z/zig-gamedev & https://github.com/hexops/mach

  • TinyExpr

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

    Project mention: math expression interpreter | /r/cprogramming | 2022-07-02

    I had a hard time understanding your readme. I see that you use make to build the program; Why not compile? Does it read stdin or how do you use it? Is it a library you can include and use a command to evaluate arithmetic, like TinyExpr?

  • HandmadeMath

    A simple math library for games and computer graphics. Compatible with both C and C++.

    Project mention: Handmade Math A simple math library for games and computer graphics | news.ycombinator.com | 2023-03-14
  • zpl

    📐 Pushing the boundaries of simplicity

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • linmath.h

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

  • LibTomMath

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

    Project mention: How to convert a large decimal number in string form to base 2^16 in C? | /r/learnprogramming | 2022-08-24
  • 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).

  • calc

    C-style arbitrary precision calculator

    Project mention: Introducing: calc a complex numbers, graphing, cli calculator | /r/commandline | 2023-05-28

    http://www.isthe.com/chongo/tech/comp/calc/index.html not sure why you chose exactly the same name as the original calc. Even if you plan to create a drop in replacement. It's not good practise to use exactly the same name than another active project in the same problem domain

  • Apophenia

    A C library for statistical and scientific computing

  • imath

    Arbitrary precision integer and rational arithmetic library (by creachadair)

  • quich

    Just an advanced terminal calculator.

  • Mathc

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

    Project mention: Lesser known examples of "syntactic sugar" in C? | /r/C_Programming | 2022-09-27

    You can go much further than that. Here is snippet from https://github.com/renehorstmann/Mathc which allows you to access all sub-parts of a vec4 - very neat.

  • polycalc

    Polynomial Calculator

  • Arin-Virtual-Assistant

    Trying to implement my own virtual assistant for my linux system using C and C++

  • haskell-igraph

    Haskell bindings to igraph library.

  • ceval

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

  • Math-Quiz

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

  • nonlinear-optimization

    Various iterative algorithms for optimization of nonlinear functions.

  • hmatrix-morpheus

    Low-level machine learning auxiliary functions (by aligusnet)

  • PrimeNumbers-C-code

    Function that take a N number and return TRUE if it is prime or FALSE if not.

  • SaaSHub

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

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). The latest post mention was on 2023-06-01.

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 5,240
2 cute_headers 3,810
3 cglm 1,703
4 zig-gamedev 1,507
5 TinyExpr 1,301
6 HandmadeMath 952
7 zpl 881
8 linmath.h 781
9 LibTomMath 583
10 MIRACL 557
11 calc 260
12 Apophenia 190
13 imath 111
14 quich 66
15 Mathc 15
16 polycalc 12
17 Arin-Virtual-Assistant 9
18 haskell-igraph 8
19 ceval 8
20 Math-Quiz 8
21 nonlinear-optimization 6
22 hmatrix-morpheus 2
23 PrimeNumbers-C-code 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com