akkadius-Server/utils/TaskMaster
Alex King 2a6cf8c8e7
[Strings] Add more number formatters (#2873)
* [Strings] Add more number formatters

# Notes
- Adds `Strings::ToUnsignedInt` for `uint32` support.
- Adds `Strings::ToBigInt` for `int64` support.
- Adds `Strings::ToUnsignedBigInt` for `uint64` support.
- Adds `Strings::ToFloat` for `float` support.
- Replaces all `std::stoi` references with `Strings::ToInt`.
- Replaces all `atoi` references with `Strings::ToInt`.
- Replaces all `std::stoul` references with `Strings::ToUnsignedInt`.
- Replaces all `atoul` references with `Strings::ToUnsignedInt`.
- Replaces all `std::stoll` references with `Strings::ToBigInt`.
- Replaces all `atoll` references with `Strings::ToBigInt`.
- Replaces all `std::stoull` references with `Strings::ToUnsignedBigInt`.
- Replaces all `atoull` references with `Strings::ToUnsignedBigInt`.
- Replaces all `std::stof` references with `Strings::ToFloat`.

* [Strings] Add more number formatters

- Adds `Strings::ToUnsignedInt` for `uint32` support.
- Adds `Strings::ToBigInt` for `int64` support.
- Adds `Strings::ToUnsignedBigInt` for `uint64` support.
- Adds `Strings::ToFloat` for `float` support.
- Replaces all `std::stoi` references with `Strings::ToInt`.
- Replaces all `atoi` references with `Strings::ToInt`.
- Replaces all `std::stoul` references with `Strings::ToUnsignedInt`.
- Replaces all `atoul` references with `Strings::ToUnsignedInt`.
- Replaces all `std::stoll` references with `Strings::ToBigInt`.
- Replaces all `atoll` references with `Strings::ToBigInt`.
- Replaces all `std::stoull` references with `Strings::ToUnsignedBigInt`.
- Replaces all `atoull` references with `Strings::ToUnsignedBigInt`.
- Replaces all `std::stof` references with `Strings::ToFloat`.

* Rebase cleanup

* Changes/benchmarks/tests

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-03-04 17:01:19 -06:00
..
activities.cpp [Strings] Add more number formatters (#2873) 2023-03-04 17:01:19 -06:00
base.cpp Remove trailing whitespace 2013-05-09 11:13:16 -04:00
base.h Remove trailing whitespace 2013-05-09 11:13:16 -04:00
base_utility.cpp [Strings] Add more number formatters (#2873) 2023-03-04 17:01:19 -06:00
changelog.txt svn -> git Migration 2013-02-16 16:14:39 -08:00
EQEmuWxProject.sln svn -> git Migration 2013-02-16 16:14:39 -08:00
EQEmuWxProject.vcproj svn -> git Migration 2013-02-16 16:14:39 -08:00
ErrorLog.cpp Remove trailing whitespace 2013-05-09 11:13:16 -04:00
ErrorLog.h Remove trailing whitespace 2013-05-09 11:13:16 -04:00
goals.cpp Remove trailing whitespace 2013-05-09 11:13:16 -04:00
items.h svn -> git Migration 2013-02-16 16:14:39 -08:00
proximity.cpp [Strings] Add more number formatters (#2873) 2023-03-04 17:01:19 -06:00
tasks.cpp [Strings] Add more number formatters (#2873) 2023-03-04 17:01:19 -06:00
tasks.h svn -> git Migration 2013-02-16 16:14:39 -08:00
utility.cpp svn -> git Migration 2013-02-16 16:14:39 -08:00
utility.h svn -> git Migration 2013-02-16 16:14:39 -08:00