public final class sun.java2d.marlin.FloatMath implements sun.java2d.marlin.MarlinConst
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.java2d.marlin.FloatMath
super_class: java.lang.Object
{
static final boolean CHECK_OVERFLOW;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final boolean CHECK_NAN;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int FLOAT_SIGNIFICAND_WIDTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 24
public static final int FLOAT_EXP_BIAS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 127
public static final int FLOAT_EXP_BIT_MASK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2139095040
public static final int FLOAT_SIGNIF_BIT_MASK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8388607
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/java2d/marlin/FloatMath;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.java2d.marlin.FloatMath.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/marlin/FloatMath;
static int max(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
if_icmplt 1
iload 0
goto 2
StackMap locals:
StackMap stack:
1: iload 1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a I
0 3 1 b I
MethodParameters:
Name Flags
a final
b final
static int min(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
if_icmpgt 1
iload 0
goto 2
StackMap locals:
StackMap stack:
1: iload 1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a I
0 3 1 b I
MethodParameters:
Name Flags
a final
b final
public static float ceil_f(float);
descriptor: (F)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: fload 0
invokestatic java.lang.Float.floatToRawIntBits:(F)I
istore 1
start local 1 1: iload 1
ldc 2139095040
iand
2: bipush 23
3: ishr
4: bipush 127
5: isub
istore 2
start local 2 6: iload 2
ifge 11
7: fload 0
fconst_0
fcmpl
ifne 8
fload 0
goto 10
8: StackMap locals: int int
StackMap stack:
fload 0
fconst_0
fcmpg
ifge 9
ldc -0.0
goto 10
StackMap locals:
StackMap stack:
9: fconst_1
10: StackMap locals:
StackMap stack: float
freturn
11: StackMap locals:
StackMap stack:
iload 2
bipush 23
if_icmplt 13
12: fload 0
freturn
13: StackMap locals:
StackMap stack:
getstatic sun.java2d.marlin.FloatMath.$assertionsDisabled:Z
ifne 15
iload 2
iflt 14
iload 2
bipush 22
if_icmple 15
StackMap locals:
StackMap stack:
14: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
iload 1
16: ldc 8388607
iload 2
ishr
iconst_m1
ixor
17: iand
istore 3
start local 3 18: iload 3
iload 1
if_icmpne 20
19: fload 0
freturn
20: StackMap locals: int
StackMap stack:
iload 3
invokestatic java.lang.Float.intBitsToFloat:(I)F
iload 3
iconst_m1
ixor
bipush 31
iushr
i2f
fadd
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 a F
1 21 1 doppel I
6 21 2 exponent I
18 21 3 intpart I
MethodParameters:
Name Flags
a final
public static float floor_f(float);
descriptor: (F)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: fload 0
invokestatic java.lang.Float.floatToRawIntBits:(F)I
istore 1
start local 1 1: iload 1
ldc 2139095040
iand
2: bipush 23
3: ishr
4: bipush 127
5: isub
istore 2
start local 2 6: iload 2
ifge 11
7: fload 0
fconst_0
fcmpl
ifne 8
fload 0
goto 10
8: StackMap locals: int int
StackMap stack:
fload 0
fconst_0
fcmpg
ifge 9
ldc -1.0
goto 10
StackMap locals:
StackMap stack:
9: fconst_0
10: StackMap locals:
StackMap stack: float
freturn
11: StackMap locals:
StackMap stack:
iload 2
bipush 23
if_icmplt 13
12: fload 0
freturn
13: StackMap locals:
StackMap stack:
getstatic sun.java2d.marlin.FloatMath.$assertionsDisabled:Z
ifne 15
iload 2
iflt 14
iload 2
bipush 22
if_icmple 15
StackMap locals:
StackMap stack:
14: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
iload 1
16: ldc 8388607
iload 2
ishr
iconst_m1
ixor
17: iand
istore 3
start local 3 18: iload 3
iload 1
if_icmpne 20
19: fload 0
freturn
20: StackMap locals: int
StackMap stack:
iload 3
invokestatic java.lang.Float.intBitsToFloat:(I)F
iload 3
bipush 31
ishr
i2f
fadd
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 a F
1 21 1 doppel I
6 21 2 exponent I
18 21 3 intpart I
MethodParameters:
Name Flags
a final
public static int ceil_int(float);
descriptor: (F)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: fload 0
f2i
istore 1
start local 1 1: fload 0
iload 1
i2f
fcmpg
ifle 4
2: iload 1
ldc 2147483647
if_icmpeq 4
3: fload 0
invokestatic java.lang.Float.isNaN:(F)Z
ifeq 5
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
5: StackMap locals:
StackMap stack:
iload 1
iconst_1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a F
1 6 1 intpart I
MethodParameters:
Name Flags
a final
public static int ceil_int(double);
descriptor: (D)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: dload 0
d2i
istore 2
start local 2 1: dload 0
iload 2
i2d
dcmpg
ifle 4
2: iload 2
ldc 2147483647
if_icmpeq 4
3: dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 5
4: StackMap locals: int
StackMap stack:
iload 2
ireturn
5: StackMap locals:
StackMap stack:
iload 2
iconst_1
iadd
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a D
1 6 2 intpart I
MethodParameters:
Name Flags
a final
public static int floor_int(float);
descriptor: (F)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: fload 0
f2i
istore 1
start local 1 1: fload 0
iload 1
i2f
fcmpl
ifge 4
2: iload 1
ldc -2147483648
if_icmpeq 4
3: fload 0
invokestatic java.lang.Float.isNaN:(F)Z
ifeq 5
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
5: StackMap locals:
StackMap stack:
iload 1
iconst_1
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a F
1 6 1 intpart I
MethodParameters:
Name Flags
a final
public static int floor_int(double);
descriptor: (D)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: dload 0
d2i
istore 2
start local 2 1: dload 0
iload 2
i2d
dcmpl
ifge 4
2: iload 2
ldc -2147483648
if_icmpeq 4
3: dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 5
4: StackMap locals: int
StackMap stack:
iload 2
ireturn
5: StackMap locals:
StackMap stack:
iload 2
iconst_1
isub
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 a D
1 6 2 intpart I
MethodParameters:
Name Flags
a final
}
SourceFile: "FloatMath.java"