Instances of java.lang.Float were previously wrapped using ConfigDouble. This had the unfortunate side effect of adding junk values when converting to double. For example float value 1.64e-7f would be rendered as 1.6399999935856613E-7.
This issue was discovered when testing the HOCON module of the Kotlin Serialization library.
Instances of java.lang.Float were previously wrapped using ConfigDouble. This had the unfortunate side effect of adding junk values when converting to double. For example float value
1.64e-7f
would be rendered as1.6399999935856613E-7
.This issue was discovered when testing the HOCON module of the Kotlin Serialization library.