odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.64k stars 583 forks source link

Add missing `string_to_int` alias in `core:math/big` #3718

Closed Feoramund closed 3 months ago

Feoramund commented 3 months ago

The documentation in the header explicitly mentions string_to_int but it didn't exist.

I was going to implement cstring_to_int for atoi but then I realized untyped strings cause compilation confusion with procedure overloading, so I left it as-is.