summaryrefslogtreecommitdiff
path: root/src/lib/math
diff options
context:
space:
mode:
authorSamanta Navarro <ferivoz@riseup.net>2020-11-11 11:38:19 +0000
committerDavid Goulet <dgoulet@torproject.org>2020-11-12 11:44:09 -0500
commit4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c (patch)
tree482e652a53ead4b26e8d97a4854671cdc0df0d61 /src/lib/math
parente2d3c9c5f82a1369385dd99765c31ba479ba8f23 (diff)
downloadtor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.tar.gz
tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.zip
Fix typos.
Typos found with codespell. Please keep in mind that this should have impact on actual code and must be carefully evaluated: src/core/or/lttng_circuit.inc - ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER) + ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
Diffstat (limited to 'src/lib/math')
-rw-r--r--src/lib/math/prob_distr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/prob_distr.c b/src/lib/math/prob_distr.c
index 31d485120e..b322b4db5c 100644
--- a/src/lib/math/prob_distr.c
+++ b/src/lib/math/prob_distr.c
@@ -891,7 +891,7 @@ icdf_genpareto(double p, double mu, double sigma, double xi)
/**
* Compute the inverse of the SF of the GeneralizedPareto(mu, sigma,
- * xi) distribution. Ill-conditioned for p near 1; conditon number is
+ * xi) distribution. Ill-conditioned for p near 1; condition number is
*
* -xi/(1 - p^{-xi})
*/
@@ -1000,7 +1000,7 @@ sample_uniform_interval(double p0, double a, double b)
* since if we treat subnormals as having an implicit
* zero bit before the `binary' point, their exponents
* are all the same. There is at most one carry/borrow
- * bit, which can always be acommodated either in a
+ * bit, which can always be accommodated either in a
* subnormal, or, at largest, in the implicit one bit
* of a normal.
*