]> granicus.if.org Git - python/commitdiff
bpo-36324: Update comments to include the target hash sums (GH-15110)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 4 Aug 2019 18:52:04 +0000 (11:52 -0700)
committerGitHub <noreply@github.com>
Sun, 4 Aug 2019 18:52:04 +0000 (11:52 -0700)
Lib/statistics.py

index 8a6be7c759016e59e9dd5146dea93a05192d80a9..77291dd62cb90e26146d49a1af13c7dc202120d6 100644 (file)
@@ -892,6 +892,7 @@ class NormalDist:
         q = p - 0.5
         if fabs(q) <= 0.425:
             r = 0.180625 - q * q
+            # Hash sum: 55.88319_28806_14901_4439
             num = (((((((2.50908_09287_30122_6727e+3 * r +
                          3.34305_75583_58812_8105e+4) * r +
                          6.72657_70927_00870_0853e+4) * r +
@@ -914,6 +915,7 @@ class NormalDist:
         r = sqrt(-log(r))
         if r <= 5.0:
             r = r - 1.6
+            # Hash sum: 49.33206_50330_16102_89036
             num = (((((((7.74545_01427_83414_07640e-4 * r +
                          2.27238_44989_26918_45833e-2) * r +
                          2.41780_72517_74506_11770e-1) * r +
@@ -932,6 +934,7 @@ class NormalDist:
                          1.0)
         else:
             r = r - 5.0
+            # Hash sum: 47.52583_31754_92896_71629
             num = (((((((2.01033_43992_92288_13265e-7 * r +
                          2.71155_55687_43487_57815e-5) * r +
                          1.24266_09473_88078_43860e-3) * r +