mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-08 07:17:12 +02: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
Plaintext
8 lines
265 B
Plaintext
{
|
|
// 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
|
|
}
|