mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibC: Use more flexible digit parsing code, deduplicate
This commit is contained in:
parent
bc5d5bf75d
commit
1f9dcdc41c
Notes:
sideshowbarker
2024-07-19 06:43:32 +09:00
Author: https://github.com/BenWiederhake
Commit: 1f9dcdc41c
Pull-request: https://github.com/SerenityOS/serenity/pull/2186
Issue: https://github.com/SerenityOS/serenity/issues/1979
2 changed files with 97 additions and 107 deletions
|
@ -52,9 +52,13 @@
|
|||
#define LONG_MAX 2147483647L
|
||||
#define LONG_MIN (-LONG_MAX - 1L)
|
||||
|
||||
#define ULONG_MAX 4294967295UL
|
||||
|
||||
#define LONG_LONG_MAX 9223372036854775807LL
|
||||
#define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL)
|
||||
|
||||
#define ULONG_LONG_MAX 18446744073709551615ULL
|
||||
|
||||
#define CHAR_MIN SCHAR_MIN
|
||||
#define CHAR_MAX SCHAR_MAX
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue