public float getInterp(float param)
  {
    float f;
    if (this.factor == 1.0F)
      f = param * param;
    while (true)
    {
      return f;
      f = (float)Math.pow(param, this.doubleFactor);
    }
  }代码如下。
求原代码可能会是啥样子

解决方案 »

  1.   

    猜吧!!!public float getInterp(float param)
    {
       float f;
       if (this.factor == 1.0F)
       f = param * param;
       if(this.doubleFactor != null)
       f = (float)Math.pow(param, this.doubleFactor);
       return f;
    }
      

  2.   

    大家反编译都猜吗?我看有可能如下?if (this.factor == 1.0F)
       f = param * param;
    else
       f = (float)Math.pow(param, this.doubleFactor);return f;
      

  3.   

    你看错了,代码应该是1楼的,基本都是猜+字节码,有些时候看字节码更容易反编译后的goto
      

  4.   

    if (this.factor == 1.0F)
      f = param * param;
    else
      f = (float)Math.pow(param, this.doubleFactor);return f;
      

  5.   


    请教是什么原因让你认为是这样子的?
    if(this.doubleFactor != null)