implementation("io.github.plumsoftware:more-math:1.1.0")
Это KMP библиотека для работы с математикой.