File: README.md

package info (click to toggle)
yyjson 0.12.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,484 kB
  • sloc: ansic: 28,930; xml: 253; javascript: 99; sh: 13; cpp: 8; makefile: 8; objc: 7
file content (16 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Number Test Data

This directory contains test cases used to validate JSON number parsing.

## Number Types

- `int` Integer (e.g., -123, -0)
- `real` Real number (e.g., 1.23, 1e23)
- `hex` Hexadecimal integer (e.g., 0x123)
- `literal` Special numeric literal (e.g., NaN, Infinity)

## Number Flags
- `(big)` Integer that exceeds the int64/uint64 range and should be read as real number
- `(inf)` Number (integer or real) that exceeds the double precision range
- `(ext)` Number valid only when the `EXT_NUMBER` flag is enabled
- `(fail)` Number that must be rejected under all flags