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?

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

C23 Catalog source: manual inventory https://en.cppreference.com/w/c/numeric/math

5% shipped
1/21 shipped 20 next

1 shipped • 20 next.

Next

  • acos Scalar math helpers are strong plain-value portability targets.
  • asin Scalar math helpers are strong plain-value portability targets.
  • atan Scalar math helpers are strong plain-value portability targets.
  • atan2 Scalar math helpers are strong plain-value portability targets.
  • ceil Scalar math helpers are strong plain-value portability targets.
  • copysign Scalar math helpers are strong plain-value portability targets.
  • cos Scalar math helpers are strong plain-value portability targets.
  • exp Scalar math helpers are strong plain-value portability targets.
  • fabs Scalar math helpers are strong plain-value portability targets.
  • floor Scalar math helpers are strong plain-value portability targets.
  • fmod Scalar math helpers are strong plain-value portability targets.
  • hypot Scalar math helpers are strong plain-value portability targets.
  • log Scalar math helpers are strong plain-value portability targets.
  • log10 Scalar math helpers are strong plain-value portability targets.
  • modf Scalar math helpers are strong plain-value portability targets.
  • pow Scalar math helpers are strong plain-value portability targets.
  • sin Scalar math helpers are strong plain-value portability targets.
  • sqrt Scalar math helpers are strong plain-value portability targets.
  • tan Scalar math helpers are strong plain-value portability targets.
  • trunc Scalar math helpers are strong plain-value portability targets.

« More C functions