public double elasticityForward(){
  final double val=value();
  final double del=deltaForward();
  if (val > Constants.QL_EPSILON)   return del / val * forward;
 else   if (Math.abs(del) < Constants.QL_EPSILON)   return 0.0;
 else   if (del > 0.0)   return Double.MAX_VALUE;
 else   return Double.MIN_VALUE;
}

public double elasticityForward ( ) { final double val = value ( ) ; final double del = deltaForward ( ) ; if ( val > Constants . QL_EPSILON ) return del / val * forward ; else if ( Math . abs ( del ) < Constants . QL_EPSILON ) return 0.0 ; else if ( del > 0.0 ) return Double . MAX_VALUE ; else return Double . MIN_VALUE ; }
sensitivity in percent to a percent change in the underlying forward price .
