# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# As per uniform distribution (10.0, 100000000.0)
# From [test.uniformcontinuous.3.properties]
# Large range to require high precision survival function
parameters = 10.0 10.0 100000000.0 100000000.0
# Computed manually using JShell:
# double u = 100000000.0
# double l = 10.0
# pdf = 1.0 / (u-l)
# cdf = (x-l) / (u-l)
# sf = (u-x) / (u-l)
mean = 50000005.0
variance = 833333166666675.0
lower = 10
upper = 100000000
cdf.points = \
  11, 1000, 10000, 10000000
cdf.values = \
  1.00000010000001e-08, 9.9000009900001e-06, 9.9900009990001e-05, 0.099999909999991
pdf.values = \
  1.00000010000001e-08, 1.00000010000001e-08 \
  1.00000010000001e-08, 1.00000010000001e-08
sf.values = \
  0.999999989999999, 0.99999009999901, 0.99990009999001, 0.900000090000009
# (100000000.0 - Math.nextDown(100000000.0)) / (100000000.0 - 10)
sf.hp.points = 9.999999999999999E7
sf.hp.values = 1.4901162683963924e-16
