musl
q
musl | q | |
---|---|---|
17 | 1 | |
169 | 36 | |
- | - | |
8.5 | 3.7 | |
22 days ago | 3 months ago | |
C | C | |
GNU General Public License v3.0 or later | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
musl
- musl/__cos.c at master ยท ifduyue/musl
-
Cosine Implementation in C
well OK, but figure this one out:
https://github.com/ifduyue/musl/blob/master/src/ctype/casema...
How do you regenerate it when the Unicode version changes?
-
What are some good C programs I can read through?
musl-libc
- How to create fundamental libraries for my language?
- Regex and gcc versions
- Implementing Cosine in C from Scratch
-
How do I find the actual code of C functions?
https://git.musl-libc.org/cgit/musl (musl, another open source implementation, I've heard this one has more readable code)
q
-
Cosine Implementation in C
Personally I like Universal CORDIC, you can calculate much more than Cosine, but it tends to be slower. See https://en.wikibooks.org/wiki/Digital_Circuits/CORDIC#The_Un... and a somewhat janky fixed point library that implements it https://github.com/howerj/q
What are some alternatives?
freebsd-src - The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....
PL3D-KC - A very fast and simple software renderer using only integers and fixed point math. PiSHi LE (PL) is a subset of the 3D software graphics library used in King's Crook.
pure-data - Pure Data - a free real-time computer music system
Bessels.jl - Bessel functions for real arguments and orders
scratch-www - Standalone web client for Scratch
FastTrig - Arduino library with interpolated lookup for sin() and cos()
wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library
arb - Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
v7unix - Version 7 Unix for a POSIX world
Libc
Quake - Quake GPL Source Release
vectrig - Vectorized approximate trigonometry library optimized for GCC