holgerbrandl
11/01/2021, 7:39 PMceil()
not an extension on Double?CLOVIS
11/01/2021, 8:06 PMCLOVIS
11/01/2021, 8:06 PMholgerbrandl
11/01/2021, 8:12 PMjimn
11/01/2021, 9:26 PMephemient
11/01/2021, 10:47 PMkotlin.math
functions operate on generic Number
, only concrete Int
Long
Float
Double
primitive typesephemient
11/01/2021, 10:51 PMval Double.absoluteValue
doesn't boxjimn
11/01/2021, 11:20 PMephemient
11/01/2021, 11:22 PMjimn
11/02/2021, 12:48 AMephemient
11/02/2021, 12:56 AMjimn
11/02/2021, 1:10 AMephemient
11/02/2021, 1:25 AMDoubleIterator.map
is neither inline, and even if it were, it is not specialized so https://youtrack.jetbrains.com/issue/KT-29460 results in boxing. so that still makes no differenceephemient
11/02/2021, 1:27 AMDoubleIterable.map
, that could be different… but it also doesn't existjimn
11/02/2021, 5:14 AM