typst/tests/typ/bugs/int-constructor.typ
2024-02-25 11:50:11 +00:00

8 lines
166 B
Typst

// Test that integer -> integer conversion doesn't do a roundtrip through float.
// Ref: false
---
#let x = 9223372036854775800
#test(type(x), int)
#test(int(x), x)