CloneSet1136


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.972IfStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13523
Closure/closure/goog/math/integer.js
23554
Closure/closure/goog/math/long.js
Clone Instance
1
Line Count
3
Source Line
523
Source File
Closure/closure/goog/math/integer.js

  // If both numbers are small, use float multiplication
  if (this.lessThan(goog.math.Integer.TWO_PWR_24_)
      &&other.lessThan(goog.math.Integer.TWO_PWR_24_))
                                                     {
    return goog.math.Integer.fromNumber(this.toNumber( )* other.toNumber( ));
                                                     }


Clone Instance
2
Line Count
3
Source Line
554
Source File
Closure/closure/goog/math/long.js

  // If both longs are small, use float multiplication
  if (this.lessThan(goog.math.Long.TWO_PWR_24_)
      &&other.lessThan(goog.math.Long.TWO_PWR_24_))
                                                  {
    return goog.math.Long.fromNumber(this.toNumber( )* other.toNumber( ));
                                                  }


Clone AbstractionParameter Count: 1Parameter Bindings

// If both longs are small, use float multiplication
// If both numbers are small, use float multiplication
if (this.lessThan(goog.math. [[#variable48375860]].TWO_PWR_24_)
    && other.lessThan(goog.math. [[#variable48375860]].TWO_PWR_24_))
  { return goog.math. [[#variable48375860]].fromNumber(this.toNumber( )*other.toNumber( ));
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#48375860]]
Long 
12[[#48375860]]
Integer