Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.974 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 347 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/FloatUtil.java |
2 | 6 | 404 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/FloatUtil.java |
| ||||
{ // can be represented as a normalized double // the left most bit must be discarded (it's always a 1) long biasedExponent = e - 1 + DOUBLE_EXPONENT_BIAS; result = fraction& ~(1L << DOUBLE_FRACTION_WIDTH); result |= (biasedExponent << DOUBLE_EXPONENT_SHIFT); } |
| ||||
{ // can be represented as a normalized single // the left most bit must be discarded (it's always a 1) long biasedExponent = e - 1 + SINGLE_EXPONENT_BIAS; result = fraction& ~(1L << SINGLE_FRACTION_WIDTH); result |= (biasedExponent << SINGLE_EXPONENT_SHIFT); } |
| |||
{ // can be represented as a normalized single // can be represented as a normalized double // the left most bit must be discarded (it's always a 1) long biasedExponent = e - 1 + [[#variable6001ee80]]; result = fraction& ~(1L << [[#variable6001fa20]]); result |= (biasedExponent << [[#variable6001fb00]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6001ee80]] | SINGLE_EXPONENT_BIAS |
1 | 2 | [[#6001ee80]] | DOUBLE_EXPONENT_BIAS |
2 | 1 | [[#6001fa20]] | SINGLE_FRACTION_WIDTH |
2 | 2 | [[#6001fa20]] | DOUBLE_FRACTION_WIDTH |
3 | 1 | [[#6001fb00]] | SINGLE_EXPONENT_SHIFT |
3 | 2 | [[#6001fb00]] | DOUBLE_EXPONENT_SHIFT |