public final class jdk.nashorn.internal.runtime.doubleconv.DoubleConversion
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.doubleconv.DoubleConversion
super_class: java.lang.Object
{
private static final int BUFFER_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 30
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 Ljdk/nashorn/internal/runtime/doubleconv/DoubleConversion;
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 jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/doubleconv/DoubleConversion;
public static java.lang.String toShortestString(double);
descriptor: (D)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: new jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer
dup
bipush 17
invokespecial jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.<init>:(I)V
astore 2
start local 2 1: dload 0
invokestatic java.lang.Math.abs:(D)D
dstore 3
start local 3 2: dload 0
dconst_0
dcmpg
ifge 4
3: aload 2
iconst_1
putfield jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.isNegative:Z
4: StackMap locals: jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer double
StackMap stack:
dload 3
aload 2
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.fastDtoaShortest:(DLjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
ifne 7
5: aload 2
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.reset:()V
6: dload 3
getstatic jdk.nashorn.internal.runtime.doubleconv.DtoaMode.SHORTEST:Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;
iconst_0
aload 2
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.bignumDtoa:(DLjdk/nashorn/internal/runtime/doubleconv/DtoaMode;ILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)V
7: StackMap locals:
StackMap stack:
aload 2
getstatic jdk.nashorn.internal.runtime.doubleconv.DtoaMode.SHORTEST:Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;
iconst_0
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.format:(Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;I)Ljava/lang/String;
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 value D
1 8 2 buffer Ljdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;
2 8 3 absValue D
MethodParameters:
Name Flags
value final
public static java.lang.String toFixed(double, int);
descriptor: (DI)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 2 0: new jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer
dup
bipush 30
invokespecial jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.<init>:(I)V
astore 3
start local 3 1: dload 0
invokestatic java.lang.Math.abs:(D)D
dstore 4
start local 4 2: dload 0
dconst_0
dcmpg
ifge 4
3: aload 3
iconst_1
putfield jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.isNegative:Z
4: StackMap locals: jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer double
StackMap stack:
dload 0
dconst_0
dcmpl
ifne 8
5: aload 3
bipush 48
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.append:(C)V
6: aload 3
iconst_1
putfield jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.decimalPoint:I
7: goto 11
StackMap locals:
StackMap stack:
8: dload 4
iload 2
aload 3
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.fixedDtoa:(DILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
ifne 11
9: aload 3
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.reset:()V
10: dload 4
getstatic jdk.nashorn.internal.runtime.doubleconv.DtoaMode.FIXED:Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;
iload 2
aload 3
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.bignumDtoa:(DLjdk/nashorn/internal/runtime/doubleconv/DtoaMode;ILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)V
11: StackMap locals:
StackMap stack:
aload 3
getstatic jdk.nashorn.internal.runtime.doubleconv.DtoaMode.FIXED:Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;
iload 2
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.format:(Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;I)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 value D
0 12 2 requestedDigits I
1 12 3 buffer Ljdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;
2 12 4 absValue D
MethodParameters:
Name Flags
value final
requestedDigits final
public static java.lang.String toPrecision(double, int);
descriptor: (DI)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 2 0: new jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer
dup
iload 2
invokespecial jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.<init>:(I)V
astore 3
start local 3 1: dload 0
invokestatic java.lang.Math.abs:(D)D
dstore 4
start local 4 2: dload 0
dconst_0
dcmpg
ifge 4
3: aload 3
iconst_1
putfield jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.isNegative:Z
4: StackMap locals: jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer double
StackMap stack:
dload 0
dconst_0
dcmpl
ifne 12
5: iconst_0
istore 6
start local 6 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 3
bipush 48
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.append:(C)V
8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 2
if_icmplt 7
end local 6 10: aload 3
iconst_1
putfield jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.decimalPoint:I
11: goto 15
StackMap locals:
StackMap stack:
12: dload 4
iload 2
aload 3
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.fastDtoaCounted:(DILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
ifne 15
13: aload 3
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.reset:()V
14: dload 4
getstatic jdk.nashorn.internal.runtime.doubleconv.DtoaMode.PRECISION:Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;
iload 2
aload 3
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.bignumDtoa:(DLjdk/nashorn/internal/runtime/doubleconv/DtoaMode;ILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)V
15: StackMap locals:
StackMap stack:
aload 3
getstatic jdk.nashorn.internal.runtime.doubleconv.DtoaMode.PRECISION:Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;
iconst_0
invokevirtual jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer.format:(Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;I)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 value D
0 16 2 precision I
1 16 3 buffer Ljdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;
2 16 4 absValue D
6 10 6 i I
MethodParameters:
Name Flags
value final
precision final
public static void bignumDtoa(double, jdk.nashorn.internal.runtime.doubleconv.DtoaMode, int, jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer);
descriptor: (DLjdk/nashorn/internal/runtime/doubleconv/DtoaMode;ILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 2 start local 3 start local 4 0: getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 1
dload 0
dconst_0
dcmpl
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 2
dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 3
dload 0
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
dload 0
aload 2
iload 3
aload 4
invokestatic jdk.nashorn.internal.runtime.doubleconv.BignumDtoa.bignumDtoa:(DLjdk/nashorn/internal/runtime/doubleconv/DtoaMode;ILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)V
4: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 v D
0 5 2 mode Ljdk/nashorn/internal/runtime/doubleconv/DtoaMode;
0 5 3 digits I
0 5 4 buffer Ljdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;
MethodParameters:
Name Flags
v final
mode final
digits final
buffer final
public static boolean fastDtoaShortest(double, jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer);
descriptor: (DLjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 1
dload 0
dconst_0
dcmpl
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 2
dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 3
dload 0
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
dload 0
aload 2
invokestatic jdk.nashorn.internal.runtime.doubleconv.FastDtoa.grisu3:(DLjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 v D
0 4 2 buffer Ljdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;
MethodParameters:
Name Flags
v final
buffer final
public static boolean fastDtoaCounted(double, int, jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer);
descriptor: (DILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 start local 3 0: getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 1
dload 0
dconst_0
dcmpl
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 2
dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 3
dload 0
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
dload 0
iload 2
aload 3
invokestatic jdk.nashorn.internal.runtime.doubleconv.FastDtoa.grisu3Counted:(DILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
ireturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 v D
0 4 2 precision I
0 4 3 buffer Ljdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;
MethodParameters:
Name Flags
v final
precision final
buffer final
public static boolean fixedDtoa(double, int, jdk.nashorn.internal.runtime.doubleconv.DtoaBuffer);
descriptor: (DILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 start local 3 0: getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 1
dload 0
dconst_0
dcmpl
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 2
dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.$assertionsDisabled:Z
ifne 3
dload 0
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
dload 0
iload 2
aload 3
invokestatic jdk.nashorn.internal.runtime.doubleconv.FixedDtoa.fastFixedDtoa:(DILjdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;)Z
ireturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 v D
0 4 2 digits I
0 4 3 buffer Ljdk/nashorn/internal/runtime/doubleconv/DtoaBuffer;
MethodParameters:
Name Flags
v final
digits final
buffer final
}
SourceFile: "DoubleConversion.java"