C's math header file in TypeScript
We have 20 C functions so far - help us add more
Got a rainy Sunday afternoon and a taste for a porting puzzle?
- Get inspiration from the C math.h documentation, the C math.h source.
- Click "New file" in the appropriate folder on GitHub. This will fork the project to your account, directly add the file to it, and send a Pull Request to us.
We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.
Upstream Surface Inventory 1/21 shipped • 20 next 5%
Namespace-level inventory for C23: what we already ship, what we may still want,
and what we intentionally skip or keep.
math.h
5%
shipped
1/21 shipped
20 next
1 shipped • 20 next.
Next
-
acosScalar math helpers are strong plain-value portability targets. -
asinScalar math helpers are strong plain-value portability targets. -
atanScalar math helpers are strong plain-value portability targets. -
atan2Scalar math helpers are strong plain-value portability targets. -
ceilScalar math helpers are strong plain-value portability targets. -
copysignScalar math helpers are strong plain-value portability targets. -
cosScalar math helpers are strong plain-value portability targets. -
expScalar math helpers are strong plain-value portability targets. -
fabsScalar math helpers are strong plain-value portability targets. -
floorScalar math helpers are strong plain-value portability targets. -
fmodScalar math helpers are strong plain-value portability targets. -
hypotScalar math helpers are strong plain-value portability targets. -
logScalar math helpers are strong plain-value portability targets. -
log10Scalar math helpers are strong plain-value portability targets. -
modfScalar math helpers are strong plain-value portability targets. -
powScalar math helpers are strong plain-value portability targets. -
sinScalar math helpers are strong plain-value portability targets. -
sqrtScalar math helpers are strong plain-value portability targets. -
tanScalar math helpers are strong plain-value portability targets. -
truncScalar math helpers are strong plain-value portability targets.