Use Double.IEEErem instead of java.lang.Math.IEEEremainder
ProprietaryMath.IEEEremainder(x, y) becomes x.IEEErem(y) — the multiplatform Kotlin extension, also shorter.
org. openrewrite. kotlin. migrate. UseDoubleIEEErem$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseDoubleIEEErem$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.