Use Double.withSign instead of java.lang.Math.copySign

Proprietary

Math.copySign(magnitude, sign) becomes magnitude.withSign(sign) — the multiplatform Kotlin extension expresses the same magnitude/sign combination as a receiver call.

org.openrewrite.kotlin.migrate.UseDoubleWithSign$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.migrate.UseDoubleWithSign$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.