CloneSet6376


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.974executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16347
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/FloatUtil.java
26404
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/FloatUtil.java
Clone Instance
1
Line Count
6
Source Line
347
Source File
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);
                                                                            }


Clone Instance
2
Line Count
6
Source Line
404
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/FloatUtil.java

                                                                    {
                        // 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);
                                                                    }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  // 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6001ee80]]
SINGLE_EXPONENT_BIAS 
12[[#6001ee80]]
DOUBLE_EXPONENT_BIAS 
21[[#6001fa20]]
SINGLE_FRACTION_WIDTH 
22[[#6001fa20]]
DOUBLE_FRACTION_WIDTH 
31[[#6001fb00]]
SINGLE_EXPONENT_SHIFT 
32[[#6001fb00]]
DOUBLE_EXPONENT_SHIFT