aboutsummaryrefslogtreecommitdiff
path: root/core/strconv
Commit message (Collapse)AuthorAgeFilesLines
* Further overhaul of package line comments.Jeroen van Rijn2025-10-092-3/+4
|
* Add doc line to `strconv`gingerBill2025-10-091-0/+1
|
* fix: copy/paste errorsamwega2025-10-031-1/+1
|
* Tetralux asked for int_tostring() to also be deprecated, use write_int() ↵samwega2025-10-032-32/+3
| | | | instead.
* short C names deprecated (itoa, ftoa), C reimplementations of atoi and atof ↵samwega2025-10-032-54/+30
| | | | deprecated as parse_int() and parse_f64() are preferable
* After discord debate: replaced rtoi and utoi with just digit_to_int and ↵samwega2025-10-021-63/+2
| | | | simple comment
* fix: copy/paste replaced tabs with spacessamwega2025-10-021-27/+27
|
* feat: added rtoi & utoi procs for converting a rune and a u8 character ↵samwega2025-10-021-0/+68
| | | | respectively to int
* Add deprecation warnings for `strconv.append_*`Feoramund2025-06-051-0/+38
|
* Remove trailing whitespaceFeoramund2025-06-054-126/+126
|
* Clarify `strconv.append_*` to `strconv.write_*`Feoramund2025-06-052-49/+49
|
* add hexfloat (0h) parsing to strconvLaytan Laats2025-05-101-0/+33
|
* Fix `strconv.parse_float` related procedures caused by a shifting problemgingerBill2025-04-162-34/+24
|
* Fix magnitude check in parse_f64_prefixMisomosi2024-10-221-1/+2
|
* Return "" for rune < 0 in strconv.Jeroen van Rijn2024-09-081-31/+31
|
* Don't factor trailing zeroes into mantissa divisionFeoramund2024-06-301-3/+19
| | | | | This should fix issues where `N00 / (pow+2)` results in a different number than `N / pow`.
* Add `@(rodata)` and `@(static, rodata)` where appropriategingerBill2024-06-062-2/+2
|
* Merge pull request #3675 from Feoramund/fix-partial-infinitygingerBill2024-06-051-6/+9
|\ | | | | Fix partial parsing of `infinity`
| * Permit parsing of incomplete `infinity` but do not return trueFeoramund2024-06-041-2/+8
| | | | | | | | | | | | | | | | | | To clarify, `parse_f64` will indeed take `infi` to mean `+Inf` and return that as the value, but it will not return `ok = true`. It treats it as `inf` followed by any other trailing character. `parse_f64_prefix` is the lenient one which will return true so long as it finds some meaningful value.
| * Fix partial parsing of "infinity" in `parse_f64_prefix`Feoramund2024-06-041-6/+3
| | | | | | | | | | It was previously reporting an invalid number of characters parsed for any string other than "inf", "+inf", or "-inf".
* | Merge pull request #3678 from Feoramund/fix-p-f64-p-docJeroen van Rijn2024-06-051-1/+5
|\ \ | | | | | | Strike incorrect note from `parse_f64_prefix` doc
| * | Strike incorrect note from `parse_f64_prefix` docFeoramund2024-06-041-1/+5
| |/
* / Add `parse_complex/quaternion*` to `core:strconv`Feoramund2024-06-041-0/+269
|/
* Fix and re-enable .doc tests.Jeroen van Rijn2024-05-111-9/+9
|
* Fix `%e` printing incorrect precisionFeoramund2024-05-091-2/+1
| | | | | For example, `%.2e` with 30.56 as the value would produce `30.60e+01`, as opposed to C's printf producing `30.6e+01`.
* Add append_u128gingerBill2024-04-101-0/+7
|
* correct newly found vetsLaytan Laats2024-04-031-1/+1
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* Fix generic_float.odinJeroen van Rijn2023-12-211-2/+0
|
* Fix `%g` in `fmt`, and make `%v` default to `%g` for floatsgingerBill2023-12-211-2/+7
|
* doc tests verifiedJon Lipstate2023-04-062-27/+28
|
* add decimal subpackage refJon Lipstate2023-04-061-4/+4
|
* resolve doc-test issuesJon Lipstate2023-04-062-5/+53
|
* parensJon Lipstate2023-04-061-25/+25
|
* parensJon Lipstate2023-04-061-25/+25
|
* strconv docsJon Lipstate2023-04-051-288/+371
|
* initialJon Lipstate2023-03-284-14/+510
|
* doc decimalJon Lipstate2023-03-281-4/+119
|
* Add `contextless` to internal `parse_hex` callgingerBill2023-03-161-1/+1
|
* Remove debug codegingerBill2023-03-061-2/+0
|
* Fix bug with nil pointergingerBill2023-03-061-3/+4
|
* Fix typo in `parse_components`gingerBill2023-03-061-2/+4
|
* Fix parsing C-like hex floatsgingerBill2023-03-061-11/+39
|
* Fix decimal_to_float_bits for floats >= 1Hyp-X2023-01-281-1/+1
|
* Use a LUT for `shift_left`gingerBill2023-01-231-21/+121
|
* Fix typo in `decimal_to_float_bits`gingerBill2023-01-232-6/+5
|
* Remove unused formatting flagMarenFayre2023-01-081-1/+0
|
* Fix left padding format specifier and float formattingMarenFayre2023-01-081-4/+0
|
* `strconv.parse_f64` - accurately parse floatsgingerBill2022-11-213-98/+421
|
* Fix #2122Jeroen van Rijn2022-10-091-1/+8
|