/src/main/java/net/finmath/equities/models/Black76Model.java
final double z = x / sqrtThree / sigmaLower;
final double z = x / sigmaLower / sqrtThree;
NormalDistribution.cumulativeDistribution(d1Upper - d2Upper) / bMax; double impliedSdev; if (beta < bLower) { final double sqrtThree = Math.sqrt(3.0); final double twoPi = 2.0 * Math.PI; <extra_id_0> final double normDistOfZ = NormalDistribution.cumulativeDistribution(z); final double fOfZ = -twoPi * x * normDistOfZ * normDistOfZ * normDistOfZ / 3.0 / sqrtThree; final double sigmaLowerSquare = sigmaLower * sigmaLower; final double zSquare = z * z; final double fPrime = twoPi * zSquare * normDistOfZ * normDistOfZ * Math.exp(zSquare + sigmaLowerSquare / 8.0); final double fPrime2 = Math.PI * zSquare * normDistOfZ * Math.exp(2.0 * zSquare + sigmaLowerSquare / 4.0)