mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
995042666a
The SDK uses only the native int and float64 types internally for values that are specified as being "number" in schema, so for SDK purposes only a float64 level of precision is significant. To avoid any weirdness introduced as we shim and un-shim numbers, we'll reduce floating point numbers to float64 precision before comparing them to try to mimic the result the SDK itself would've gotten from comparing its own float64 versions of these values using the Go "==" operator. |
||
---|---|---|
.. | ||
flatmap_test.go | ||
flatmap.go | ||
paths_test.go | ||
paths.go | ||
single_attr_body.go | ||
values_equiv_test.go | ||
values_equiv.go | ||
values_test.go | ||
values.go |