public final class java.lang.Float extends java.lang.Number implements java.lang.Comparable<java.lang.Float>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.lang.Float
super_class: java.lang.Number
{
public static final float POSITIVE_INFINITY;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: Infinity
public static final float NEGATIVE_INFINITY;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -Infinity
public static final float NaN;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: NaN
public static final float MAX_VALUE;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3.4028235E38
public static final float MIN_NORMAL;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1.17549435E-38
public static final float MIN_VALUE;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1.4E-45
public static final int MAX_EXPONENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 127
public static final int MIN_EXPONENT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -126
public static final int SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final java.lang.Class<java.lang.Float> TYPE;
descriptor: Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<Ljava/lang/Float;>;
private final float value;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2671257302660747028
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "float"
invokestatic java.lang.Class.getPrimitiveClass:(Ljava/lang/String;)Ljava/lang/Class;
putstatic java.lang.Float.TYPE:Ljava/lang/Class;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String toString(float);
descriptor: (F)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.misc.FloatingDecimal
dup
fload 0
invokespecial sun.misc.FloatingDecimal.<init>:(F)V
invokevirtual sun.misc.FloatingDecimal.toJavaFormatString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 f F
MethodParameters:
Name Flags
f
public static java.lang.String toHexString(float);
descriptor: (F)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: fload 0
invokestatic java.lang.Math.abs:(F)F
ldc 1.17549435E-38
fcmpg
ifge 6
1: fload 0
fconst_0
fcmpl
ifeq 6
2: fload 0
f2d
3: sipush -896
4: invokestatic sun.misc.FpUtils.scalb:(DI)D
invokestatic java.lang.Double.toHexString:(D)Ljava/lang/String;
astore 1
start local 1 5: aload 1
ldc "p-1022$"
ldc "p-126"
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 6: StackMap locals:
StackMap stack:
fload 0
f2d
invokestatic java.lang.Double.toHexString:(D)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 f F
5 6 1 s Ljava/lang/String;
MethodParameters:
Name Flags
f
public static java.lang.Float valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Float;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Float
dup
aload 0
invokestatic sun.misc.FloatingDecimal.readJavaFormatString:(Ljava/lang/String;)Lsun/misc/FloatingDecimal;
invokevirtual sun.misc.FloatingDecimal.floatValue:()F
invokespecial java.lang.Float.<init>:(F)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
public static java.lang.Float valueOf(float);
descriptor: (F)Ljava/lang/Float;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Float
dup
fload 0
invokespecial java.lang.Float.<init>:(F)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 f F
MethodParameters:
Name Flags
f
public static float parseFloat(java.lang.String);
descriptor: (Ljava/lang/String;)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.misc.FloatingDecimal.readJavaFormatString:(Ljava/lang/String;)Lsun/misc/FloatingDecimal;
invokevirtual sun.misc.FloatingDecimal.floatValue:()F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
public static boolean isNaN(float);
descriptor: (F)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: fload 0
fload 0
fcmpl
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v F
MethodParameters:
Name Flags
v
public static boolean isInfinite(float);
descriptor: (F)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: fload 0
ldc Infinity
fcmpl
ifeq 1
fload 0
ldc -Infinity
fcmpl
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v F
MethodParameters:
Name Flags
v
public void <init>(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Number.<init>:()V
1: aload 0
fload 1
putfield java.lang.Float.value:F
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Float;
0 3 1 value F
MethodParameters:
Name Flags
value
public void <init>(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Number.<init>:()V
1: aload 0
dload 1
d2f
putfield java.lang.Float.value:F
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Float;
0 3 1 value D
MethodParameters:
Name Flags
value
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.lang.Float.valueOf:(Ljava/lang/String;)Ljava/lang/Float;
invokevirtual java.lang.Float.floatValue:()F
invokespecial java.lang.Float.<init>:(F)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/Float;
0 2 1 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
public boolean isNaN();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
invokestatic java.lang.Float.isNaN:(F)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public boolean isInfinite();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
invokestatic java.lang.Float.isInfinite:(F)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
invokestatic java.lang.Float.toString:(F)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public byte byteValue();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
f2i
i2b
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public short shortValue();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
f2i
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
f2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public long longValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
f2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public float floatValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
f2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Float.value:F
invokestatic java.lang.Float.floatToIntBits:(F)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.lang.Float
ifeq 3
1: aload 1
checkcast java.lang.Float
getfield java.lang.Float.value:F
invokestatic java.lang.Float.floatToIntBits:(F)I
aload 0
getfield java.lang.Float.value:F
invokestatic java.lang.Float.floatToIntBits:(F)I
if_icmpne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/Float;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static int floatToIntBits(float);
descriptor: (F)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, 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: ldc 2139095040
3: if_icmpne 6
4: iload 1
ldc 8388607
iand
ifeq 6
5: ldc 2143289344
istore 1
6: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value F
1 7 1 result I
MethodParameters:
Name Flags
value
public static native int floatToRawIntBits(float);
descriptor: (F)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
value
public static native float intBitsToFloat(int);
descriptor: (I)F
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
bits
public int compareTo(java.lang.Float);
descriptor: (Ljava/lang/Float;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.Float.value:F
aload 1
getfield java.lang.Float.value:F
invokestatic java.lang.Float.compare:(FF)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
0 1 1 anotherFloat Ljava/lang/Float;
MethodParameters:
Name Flags
anotherFloat
public static int compare(float, float);
descriptor: (FF)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: fload 0
fload 1
fcmpg
ifge 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
fload 0
fload 1
fcmpl
ifle 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
fload 0
invokestatic java.lang.Float.floatToIntBits:(F)I
istore 2
start local 2 5: fload 1
invokestatic java.lang.Float.floatToIntBits:(F)I
istore 3
start local 3 6: iload 2
iload 3
if_icmpne 7
iconst_0
goto 9
7: StackMap locals: int int
StackMap stack:
iload 2
iload 3
if_icmpge 8
iconst_m1
goto 9
8: StackMap locals:
StackMap stack:
iconst_1
9: StackMap locals:
StackMap stack: int
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 f1 F
0 10 1 f2 F
5 10 2 thisBits I
6 10 3 anotherBits I
MethodParameters:
Name Flags
f1
f2
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Float
invokevirtual java.lang.Float.compareTo:(Ljava/lang/Float;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Number;Ljava/lang/Comparable<Ljava/lang/Float;>;
SourceFile: "Float.java"