mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Add std/json quirk_allow_inf_nan_numbers
This commit is contained in:
1 parent
b43e2493a2
commit
d7c72373f3
6 files changed
+436
-17
No files matched your search
@@ -180,6 +180,11 @@ wuffs_base__make_token(uint64_t repr) {
|
||||
#define WUFFS_BASE__TOKEN__VBD__NUMBER__CONTENT_INTEGER_SIGNED 0x00002
|
||||
#define WUFFS_BASE__TOKEN__VBD__NUMBER__CONTENT_INTEGER_UNSIGNED 0x00004
|
||||
|
||||
#define WUFFS_BASE__TOKEN__VBD__NUMBER__CONTENT_NEG_INF 0x00010
|
||||
#define WUFFS_BASE__TOKEN__VBD__NUMBER__CONTENT_POS_INF 0x00020
|
||||
#define WUFFS_BASE__TOKEN__VBD__NUMBER__CONTENT_NEG_NAN 0x00040
|
||||
#define WUFFS_BASE__TOKEN__VBD__NUMBER__CONTENT_POS_NAN 0x00080
|
||||
|
||||
// The number 300 might be represented as "\x01\x2C", "\x2C\x01\x00\x00" or
|
||||
// "300", which are big-endian, little-endian or text. For binary formats, the
|
||||
// token length discriminates e.g. u16 little-endian vs u32 little-endian.
|
||||
|
||||
Reference in new issue
Block a user