public double potentialUpside(final double centile){
  QL.require(centile >= 0.9 && centile < 1.0,"percentile out of range [0.9, 1.0)");
  return Math.max(percentile(centile),0.0);
}

public double potentialUpside ( final double centile ) { QL . require ( centile >= 0.9 && centile < 1.0 , "percentile out of range [0.9, 1.0)" ) ; return Math . max ( percentile ( centile ) , 0.0 ) ; }
potential upside ( the reciprocal of var ) at a given percentile
