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