jrsonnet icon indicating copy to clipboard operation
jrsonnet copied to clipboard

Support for big integers

Open LorisFriedel opened this issue 1 year ago • 1 comments

Hello!

Would it be possible to improve the current integer precision? I understand that all numbers in Jsonnet are represented as double (as defined in IEEE754), but for very big integers (larger than 2^53 IIRC) this gives a pretty poor precision.

If sticking to the language specifications is the priority, maybe it could be considered to add "big numbers" features in the standard library? Or something else?

WDYT?

LorisFriedel avatar Apr 13 '23 12:04 LorisFriedel