SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C Math Projects

The Fortran implementation is just a reference implementation. The goal of reference BLAS [0] is to provide relatively simple and easy to understand implementations which demonstrate the interface and are intended to give correct results to test against. Perhaps an exceptional Fortran compiler which doesn't yet exist could generate code which rivals hand (or automatically) tuned optimized BLAS libraries like OpenBLAS [1], MKL [2], ATLAS [3], and those based on BLIS [4], but in practice this is not observed.
Justine observed that the threading model for LLaMA makes it impractical to integrate one of these optimized BLAS libraries, so she wrote her own handtuned implementations following the same principles they use.
[0] https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprogra...
[1] https://github.com/OpenMathLib/OpenBLAS
[2] https://www.intel.com/content/www/us/en/developer/tools/onea...
[3] https://en.wikipedia.org/wiki/Automatically_Tuned_Linear_Alg...
[4]https://en.wikipedia.org/wiki/BLIS_(software)

InfluxDB
Power RealTime Data Analytics at Scale. Get realtime insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in realtime with unbounded cardinality.

cute_headers
Collection of crossplatform onefile C/C++ libraries with no dependencies, primarily used for games



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

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


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

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 multipleprecision integer library written entirely in C.
It doesn't look especially specific to me  slightly hack the structure in https://github.com/libtom/libtommath to make sense to your garbage collector and you're pretty much done. That somewhat punts on the testing question but I doubt add/mul/bitops from that library are buggy.

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).

Project mention: Memorysafe, clean implementation of classic Posix "BC" calculator  news.ycombinator.com  20240607
 DC to convert between bases and if you like RPN.  Calc it's better if you want to cover complex numbers: https://github.com/lcn2/calc  Qalc from libqalculate in order to solve some equations in legacy machines. It's lighter and smaller than Maxima, but not as complete.  Maxima for anything else, the biggie one. Gnuplot will work fine as a plotter for the previous tools.

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


Github: https://github.com/NumPower/numpower










SaaSHub
SaaSHub  Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C Math discussion
C Math related posts

Optimizing a Bignum Library for Fun

LLaMA Now Goes Faster on CPUs

Assume I'm an idiot  oogabooga LLaMa.cpp??!

Trouble calculating projection matrix

Learn x8664 assembly by writing a GUI from scratch

Handmade Math A simple math library for games and computer graphics

converting a vec4 into a mat4

A note from our sponsor  SaaSHub
www.saashub.com  20 Jul 2024
Index
What are some of the best opensource Math projects in C? This list will help you:
Project  Stars  

1  OpenBLAS  6,160 
2  cute_headers  4,199 
3  cglm  2,159 
4  ziggamedev  2,101 
5  TinyExpr  1,547 
6  HandmadeMath  1,179 
7  zpl  966 
8  linmath.h  890 
9  LibTomMath  639 
10  MIRACL  627 
11  calc  330 
12  tomsfastmath  207 
13  Apophenia  197 
14  numpower  174 
15  imath  128 
16  quich  67 
17  Mathc  16 
18  polycalc  12 
19  haskelligraph  9 
20  MathQuiz  9 
21  ceval  8 
22  nonlinearoptimization  7 
23  liir  3 