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
..
2023-03-04 17:01:19 -06:00
2020-02-06 14:20:18 -05:00
2021-11-03 17:47:15 -04:00
2023-03-04 17:01:19 -06:00
2022-01-16 14:55:51 -05:00
2023-02-13 00:24:23 -06:00
2022-09-28 21:29:04 -05:00
2019-05-16 00:12:21 -07:00
2023-03-04 17:01:19 -06:00
2023-03-04 17:01:19 -06:00
2020-01-19 21:57:28 -06:00
2023-01-20 12:35:33 -06:00
2023-01-20 15:52:45 -05:00
2023-02-15 21:01:35 -06:00
2023-03-04 17:01:19 -06:00
2023-02-23 02:36:17 -06:00
2023-03-04 17:01:19 -06:00
2023-02-23 02:36:17 -06:00
2023-01-20 12:35:33 -06:00
2023-03-04 17:01:19 -06:00
2023-02-23 02:36:17 -06:00
2023-02-25 20:16:09 -05:00
2023-02-12 22:59:14 -06:00
2021-08-31 01:24:21 -05:00
2023-03-04 17:01:19 -06:00
2023-02-13 00:24:23 -06:00
2023-03-04 17:01:19 -06:00
2022-01-02 21:06:31 -06:00
2023-02-15 21:01:35 -06:00
2023-03-04 17:01:19 -06:00
2023-02-25 20:10:08 -05:00
2023-02-26 21:35:49 -05:00
2023-02-12 21:31:01 -06:00
2023-02-12 21:31:01 -06:00
2023-02-12 22:03:51 -06:00
2023-02-23 02:38:37 -06:00
2023-02-12 21:31:01 -06:00
2023-03-04 17:45:42 -05:00
2023-01-20 15:52:45 -05:00
2023-03-04 17:01:19 -06:00
2022-11-26 19:28:21 -05:00
2023-03-04 17:01:19 -06:00
2022-11-14 16:38:05 -05:00
2023-03-04 17:01:19 -06:00
2023-02-24 13:22:56 -06:00
2023-01-17 21:18:40 -06:00
2022-12-20 21:52:36 -06:00
2023-02-09 10:36:01 -05:00
2023-03-01 20:42:37 -05:00
2023-03-04 17:01:19 -06:00
2023-01-31 20:30:34 -06:00
2023-01-31 20:30:34 -06:00
2023-02-12 21:31:01 -06:00
2023-01-20 12:35:33 -06:00
2022-07-03 21:33:45 -05:00
2022-12-25 16:36:20 -05:00
2023-01-20 15:52:45 -05:00
2023-03-04 17:01:19 -06:00
2023-02-12 21:54:20 -06:00
2023-02-13 00:19:02 -06:00
2023-03-04 17:01:19 -06:00
2022-07-14 02:10:52 -05:00
2021-09-05 01:21:23 -05:00
2022-12-20 21:52:36 -06:00
2021-09-05 01:21:23 -05:00
2023-01-17 21:18:40 -06:00
2023-02-12 21:31:01 -06:00
2020-01-03 17:25:53 -06:00
2023-03-04 17:01:19 -06:00
2022-05-06 19:50:03 -04:00
2020-02-06 01:52:35 -05:00
2023-02-12 21:31:01 -06:00
2023-01-20 12:35:33 -06:00
2023-03-04 17:01:19 -06:00
2023-01-22 12:56:42 -05:00
2022-07-14 02:10:52 -05:00
2023-02-12 22:44:31 -06:00
2023-01-20 12:35:33 -06:00
2023-01-20 12:35:33 -06:00
2023-01-20 12:35:33 -06:00
2023-03-04 17:01:19 -06:00
2023-03-04 17:01:19 -06:00
2023-03-04 17:01:19 -06:00
2023-02-19 16:13:28 -05:00
2023-02-19 16:13:28 -05:00
2023-02-28 20:31:20 -05:00
2023-02-23 02:31:35 -06:00
2022-11-06 10:48:10 -05:00
2022-11-06 10:48:10 -05:00
2023-01-11 19:10:38 -05:00
2023-01-11 19:10:38 -05:00
2023-01-20 12:35:33 -06:00
2023-01-20 12:35:33 -06:00
2023-01-20 12:35:33 -06:00
2023-01-20 12:35:33 -06:00
2022-12-20 21:52:36 -06:00
2022-07-30 21:00:11 -05:00
2023-02-13 00:19:02 -06:00
2019-07-18 00:56:46 -04:00
2022-12-30 22:03:30 -05:00
2023-01-20 12:35:33 -06:00
2021-11-06 17:36:00 -04:00
2022-05-09 20:49:43 -05:00
2022-05-09 20:49:43 -05:00
2022-12-25 15:14:54 -05:00
2022-12-25 15:14:54 -05:00
2022-06-04 14:00:21 -04:00
2022-06-04 14:00:21 -04:00
2022-11-06 17:10:30 -05:00
2022-11-06 17:10:30 -05:00
2023-02-28 21:26:11 -05:00
2023-02-28 21:26:11 -05:00
2023-01-12 08:34:49 -05:00
2023-01-11 17:49:35 -06:00
2023-02-28 21:13:43 -05:00
2023-02-28 21:13:43 -05:00
2022-12-04 12:18:27 -05:00
2022-12-04 12:18:27 -05:00
2022-12-20 21:52:36 -06:00
2021-05-24 20:22:31 -05:00
2023-03-04 17:01:19 -06:00
2023-02-13 00:19:02 -06:00
2023-02-15 10:57:05 -06:00
2023-01-31 20:30:34 -06:00
2023-01-03 20:17:19 -05:00
2023-01-03 20:17:19 -05:00
2021-11-12 21:16:39 -05:00
2021-11-12 21:16:39 -05:00
2021-09-03 20:19:39 -05:00
2022-09-08 07:49:13 -04:00
2022-09-08 07:49:13 -04:00
2023-03-04 17:01:19 -06:00
2022-09-28 04:08:59 -05:00
2019-12-28 22:45:35 -06:00
2023-01-20 12:35:33 -06:00
2023-03-04 17:01:19 -06:00
2023-02-06 22:30:49 -05:00
2023-03-04 17:01:19 -06:00
2023-03-04 17:01:19 -06:00
2023-02-24 20:17:07 -06:00
2023-02-24 14:07:44 -06:00
2020-04-30 11:35:09 -04:00
2023-03-04 17:01:19 -06:00
2023-02-25 20:10:23 -05:00
2023-02-24 20:17:07 -06:00
2023-02-24 20:17:07 -06:00
2023-03-04 17:01:19 -06:00
2023-03-04 11:40:29 -05:00
2023-03-04 17:01:19 -06:00
2023-02-15 10:52:03 -06:00
2019-03-13 22:55:49 -07:00
2019-03-13 22:55:49 -07:00
2022-09-28 04:08:59 -05:00
2018-12-24 14:48:11 -08:00
2022-09-28 04:08:59 -05:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2022-07-14 02:10:52 -05:00
2018-11-07 21:55:12 -08:00
2022-07-27 09:00:09 -05:00
2023-02-19 16:13:28 -05:00
2023-02-23 02:31:35 -06:00
2023-01-11 19:10:38 -05:00
2023-01-20 12:35:33 -06:00
2022-09-01 18:48:28 -05:00
2022-11-27 15:57:01 -05:00
2022-07-03 21:33:45 -05:00
2022-12-25 15:14:54 -05:00
2023-02-28 21:26:11 -05:00
2023-02-28 21:13:43 -05:00
2022-12-04 12:18:27 -05:00
2022-07-03 21:33:45 -05:00
2022-11-06 10:48:10 -05:00
2022-11-06 17:10:30 -05:00
2023-01-03 20:17:19 -05:00
2022-07-03 21:33:45 -05:00
2021-11-03 17:47:15 -04:00
2023-03-04 17:01:19 -06:00
2022-09-01 18:48:28 -05:00
2023-03-04 17:01:19 -06:00
2023-01-15 15:30:42 -06:00
2022-07-14 02:10:52 -05:00
2018-10-13 23:53:16 -07:00
2023-03-04 17:01:19 -06:00
2022-07-14 02:10:52 -05:00
2022-06-09 17:22:23 -05:00
2023-01-31 20:30:34 -06:00
2023-01-31 20:30:34 -06:00
2023-01-31 20:30:34 -06:00
2023-03-04 17:01:19 -06:00
2023-03-01 20:42:37 -05:00
2023-03-04 17:01:19 -06:00
2023-01-16 19:10:19 -05:00
2022-11-06 11:04:39 -05:00
2021-09-05 01:21:23 -05:00
2023-03-04 17:01:19 -06:00
2022-05-06 18:12:29 -05:00
2023-03-04 17:01:19 -06:00
2021-03-02 12:39:04 -05:00
2023-02-13 00:24:23 -06:00
2023-02-15 21:01:35 -06:00
2023-03-04 17:01:19 -06:00
2023-02-15 21:03:16 -06:00
2023-03-04 17:01:19 -06:00
2022-11-06 11:04:39 -05:00
2023-03-04 17:01:19 -06:00
2022-11-06 11:04:39 -05:00
2023-02-12 22:48:51 -06:00
2021-09-05 01:21:23 -05:00
2023-03-04 17:01:19 -06:00
2023-02-26 21:35:43 -05:00
2023-03-04 17:01:19 -06:00
2023-03-04 17:01:19 -06:00
2023-03-04 17:01:19 -06:00
2023-03-04 17:01:19 -06:00
2023-02-09 10:36:01 -05:00
2019-03-13 22:55:49 -07:00
2022-09-28 04:08:59 -05:00
2023-03-04 17:01:19 -06:00
2023-02-12 21:31:01 -06:00
2022-05-10 06:19:07 -04:00
2022-09-28 04:08:59 -05:00
2022-07-14 02:10:52 -05:00
2021-03-29 02:52:57 -05:00
2023-01-19 22:24:50 -06:00
2020-01-31 20:25:06 -06:00
2023-03-04 17:01:19 -06:00
2023-02-13 00:24:23 -06:00
2023-03-04 17:01:19 -06:00
2023-02-12 21:31:01 -06:00
2022-12-25 16:36:20 -05:00
2023-03-04 17:01:19 -06:00