google / jsonnet

Jsonnet - The data templating language
http://jsonnet.org
Apache License 2.0
6.92k stars 438 forks source link

String format '%g' % 0 causes overflow #1072

Closed netomi closed 1 year ago

netomi commented 1 year ago

Originally reported at https://github.com/google/go-jsonnet/issues/554, this error boils down to the implementation of format in the standard library.

Opening a ticket here to trace a fix.

netomi commented 1 year ago

The PR that fixes that issue is #1073

Its merged in the mean time.