Python's math module in TypeScript


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 40/56 shipped • 16 next 71%

Namespace-level inventory for Python 3.12: what we already ship, what we may still want, and what we intentionally skip or keep.

math

Python 3.12 · Catalog source: version-pinned source manifest python:3.12:math

71% shipped
40/56 shipped 16 next
Shipped (40)

Next

Python math helpers map cleanly to JS numbers and arrays.

  • cbrt
  • erf
  • erfc
  • exp2
  • fmod
  • frexp
  • gamma
  • ldexp
  • lgamma
  • log1p
  • modf
  • nextafter
  • perm
  • remainder
  • sumprod
  • ulp

« More Python functions