diff options
| author | Ana Gelez <ana@gelez.xyz> | 2024-03-25 17:51:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-25 16:51:35 +0000 |
| commit | 105d7156f8f9d95e16b3eefdf0fa97e5be7fbe5b (patch) | |
| tree | e937ec63a9f95af3d6272525f8701ec0d4ed5582 /tests/typ | |
| parent | 2efa86cbdf3e60602fe5524aeaa0befdf14eafcf (diff) | |
Better handle large numbers from external data files (#3791)
Co-authored-by: Martin Haug <mhaug@live.de>
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/bugs/3363-json-large-number.typ | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/bugs/3363-json-large-number.typ b/tests/typ/bugs/3363-json-large-number.typ new file mode 100644 index 00000000..57d37f1b --- /dev/null +++ b/tests/typ/bugs/3363-json-large-number.typ @@ -0,0 +1,8 @@ +// Big numbers (larger than what i64 can store) should just lose some precision +// but not overflow +// https://github.com/typst/typst/issues/3363 +// Ref: false + +#let bignum = json("/assets/data/big-number.json") + +#bignum
\ No newline at end of file |
