Skip to content

Large numbers in JSON lead to overflow #3363

@NorfairKing

Description

@NorfairKing

Description

Use this typst code:

#let bignum = json("big.json")

#bignum

with this json file:

18446744073709551615

(This is $2^{64}-1$)

and see:
wat

Operating system

Linux

Typst version

Using typst-0.9.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingscriptingAbout Typst's coding capabilities

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions