mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-24 10:31:05 +01:00
There are slight differences across CPU architectures which we cannot avoid. These should have no practical consequences for the users.
8 lines
265 B
Jsonnet
8 lines
265 B
Jsonnet
{
|
|
// Formats a floating point number to get 15 digits
|
|
// after the decimal point. It is used for some tests
|
|
// of numeric functions, where a range of values is
|
|
// acceptable, due to differences in cpu architecture.
|
|
tolerance(x):: "%.15f" % x
|
|
}
|