OS
Size: a a a
OS
ПФ
OC
OS
ПФ
ПФ
OC
OC
OS
ПФ
tailrec fun findFixPoint(x: Double = 1.0): Double
= if (x == Math.cos(x)) x else findFixPoint(Math.cos(x))
ПФ
Compiled from "test.kt"
public final class TestKt {
public static final double findFixPoint(double);
descriptor: (D)D
Code:
0: dload_0
1: dload_0
2: invokestatic #11 // Method java/lang/Math.cos:(D)D
5: dcmpg
6: ifne 13
9: dload_0
10: goto 21
13: dload_0
14: invokestatic #11 // Method java/lang/Math.cos:(D)D
17: dstore_0
18: goto 0
21: dreturn
public static double findFixPoint$default(double, int, java.lang.Object);
descriptor: (DILjava/lang/Object;)D
Code:
0: iload_2
1: iconst_1
2: iand
3: ifeq 8
6: dconst_1
7: dstore_0
8: dload_0
9: invokestatic #17 // Method findFixPoint:(D)D
12: dreturn
}
ПФ
ПФ
OC
ПФ
ПФ
ПФ
OC
OC