Ruckus
09/23/2019, 2:27 PMDouble.Companion
are not const
? I cannot do const val USE_DEFAULT = Double.NEGATIVE_INFINITY
.Shawn
09/23/2019, 5:27 PMkarelpeeters
09/23/2019, 7:59 PMShawn
09/23/2019, 8:00 PMkarelpeeters
09/23/2019, 8:01 PMDavio
09/24/2019, 7:19 AM0x0.0000000000001P-1022
with the suffix 'P' being the Binary Exponent indicator, so this is 'just' 2^-1074; the binary exponent indicator does not exist in Kotlin so it would be hard to express this number with a literal, making it impossible / improbable to do it with a constRuckus
09/24/2019, 1:38 PMkarelpeeters
09/24/2019, 4:06 PMNEGATIVE_INFINITY
in an annotation and you're the first to run into it?Ruckus
09/25/2019, 12:12 AM