### Question:
LogNormalDistribution extends AbstractContinuousDistribution { @Override public double getVariance() { final double s = shape; final double ss = s * s; return (Math.expm1(ss)) * Math.exp(2 * scale + ss); } LogNormalDistribution(double scale,
                                 double shape); double getScale(); double getShape(); @Override double density(double x); @Override double logDensity(double x); @Override double cumulativeProbability(double x); @Override double probability(double x0,
                              double x1); @Override double getMean(); @Override double getVariance(); @Override double getSupportLowerBound(); @Override double getSupportUpperBound(); @Override boolean isSupportConnected(); @Override ContinuousDistribution.Sampler createSampler(final UniformRandomProvider rng);  }### Answer:
@Test void testTinyVariance() { final LogNormalDistribution dist = new LogNormalDistribution(0, 1e-9); final double t = dist.getVariance(); Assertions.assertEquals(1e-18, t, 1e-20); }