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 int BYTES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
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=1, locals=1, args_size=1
start local 0 0: fload 0
invokestatic jdk.internal.math.FloatingDecimal.toJavaFormatString:(F)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 java.lang.Math.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 java.lang.Float.parseFloat:(Ljava/lang/String;)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
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
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 jdk.internal.math.FloatingDecimal.parseFloat:(Ljava/lang/String;)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 static boolean isFinite(float);
descriptor: (F)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: fload 0
invokestatic java.lang.Math.abs:(F)F
ldc 3.4028235E38
fcmpg
ifgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 f F
MethodParameters:
Name Flags
f
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
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
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
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
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
invokespecial java.lang.Number.<init>:()V
1: aload 0
aload 1
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
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 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
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;
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
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.hashCode:(F)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Float;
public static int hashCode(float);
descriptor: (F)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: fload 0
invokestatic java.lang.Float.floatToIntBits:(F)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value F
MethodParameters:
Name Flags
value
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=1, locals=1, args_size=1
start local 0 0: fload 0
invokestatic java.lang.Float.isNaN:(F)Z
ifne 2
1: fload 0
invokestatic java.lang.Float.floatToRawIntBits:(F)I
ireturn
2: StackMap locals:
StackMap stack:
ldc 2143289344
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value F
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
value
public static native int floatToRawIntBits(float);
descriptor: (F)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
value
public static native float intBitsToFloat(int);
descriptor: (I)F
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
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 static float sum(float, float);
descriptor: (FF)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: fload 0
fload 1
fadd
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a F
0 1 1 b F
MethodParameters:
Name Flags
a
b
public static float max(float, float);
descriptor: (FF)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: fload 0
fload 1
invokestatic java.lang.Math.max:(FF)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a F
0 1 1 b F
MethodParameters:
Name Flags
a
b
public static float min(float, float);
descriptor: (FF)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: fload 0
fload 1
invokestatic java.lang.Math.min:(FF)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a F
0 1 1 b F
MethodParameters:
Name Flags
a
b
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"