public double gaussianValueAtRisk(double percentile){
  QL.require(percentile < 1.0 && percentile >= 0.9,"percentile is out of range [0.9, 1)");
  double result=gaussianPercentile(1.0 - percentile);
  return -Math.min(result,0.0);
}

public double gaussianValueAtRisk ( double percentile ) { QL . require ( percentile < 1.0 && percentile >= 0.9 , "percentile is out of range [0.9, 1)" ) ; double result = gaussianPercentile ( 1.0 - percentile ) ; return - Math . min ( result , 0.0 ) ; }
percentile must be in range [ 90 % - 100 % )
