Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.965 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 353 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/FloatUtil.java |
2 | 8 | 410 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/FloatUtil.java |
| ||||
if (e - 1 > MIN_UNNORMALIZED_DOUBLE_EXPONENT) { // can be represented as an unnormalized double long biasedExponent = 0; result = fraction >>> (MIN_NORMALIZED_DOUBLE_EXPONENT - e + 1); result |= (biasedExponent << DOUBLE_EXPONENT_SHIFT); } else { // underflow - return Double.NaN result = Double.doubleToLongBits(Double.NaN); } |
| ||||
if (e - 1 > MIN_UNNORMALIZED_SINGLE_EXPONENT) { // can be represented as an unnormalized single long biasedExponent = 0; result = fraction >>> (MIN_NORMALIZED_SINGLE_EXPONENT - e + 1); result |= (biasedExponent << SINGLE_EXPONENT_SHIFT); } else { // underflow - return Float.NaN result = Float.floatToIntBits(Float.NaN); } |
| |||
if (e - 1 > [[#variable523dd420]]) { // can be represented as an unnormalized double // can be represented as an unnormalized single long biasedExponent = 0; result = fraction >>> ( [[#variable523dd380]] - e + 1); result |= (biasedExponent << [[#variable523dd300]]); } else { // underflow - return Double.NaN // underflow - return Float.NaN result = [[#variable523dd1a0]]. [[#variable523dd220]]( [[#variable523dd1a0]].NaN); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#523dd420]] | MIN_UNNORMALIZED_DOUBLE_EXPONENT |
1 | 2 | [[#523dd420]] | MIN_UNNORMALIZED_SINGLE_EXPONENT |
2 | 1 | [[#523dd380]] | MIN_NORMALIZED_DOUBLE_EXPONENT |
2 | 2 | [[#523dd380]] | MIN_NORMALIZED_SINGLE_EXPONENT |
3 | 1 | [[#523dd300]] | DOUBLE_EXPONENT_SHIFT |
3 | 2 | [[#523dd300]] | SINGLE_EXPONENT_SHIFT |
4 | 1 | [[#523dd1a0]] | Double |
4 | 2 | [[#523dd1a0]] | Float |
5 | 1 | [[#523dd220]] | doubleToLongBits |
5 | 2 | [[#523dd220]] | floatToIntBits |