aboutsummaryrefslogtreecommitdiff
path: root/lib/msun
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2018-12-31 15:43:06 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2018-12-31 15:43:06 +0000
commit50757b1452ca4c8df14ee66227cd417c15089d73 (patch)
tree4857ee7831d40dcf1cc5dbfe696190eb3c003609 /lib/msun
parent5854d718547ba951d39a4157323eafd6c90bee0b (diff)
Notes
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/ld128/e_powl.c2
-rw-r--r--lib/msun/src/k_rem_pio2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/ld128/e_powl.c b/lib/msun/ld128/e_powl.c
index d6e72333e4b97..12b92a1a98b9f 100644
--- a/lib/msun/ld128/e_powl.c
+++ b/lib/msun/ld128/e_powl.c
@@ -32,7 +32,7 @@
* 1. Compute and return log2(x) in two pieces:
* log2(x) = w1 + w2,
* where w1 has 113-53 = 60 bit trailing zeros.
- * 2. Perform y*log2(x) = n+y' by simulating muti-precision
+ * 2. Perform y*log2(x) = n+y' by simulating multi-precision
* arithmetic, where |y'|<=0.5.
* 3. Return x**y = 2**n*exp(y'*log2)
*
diff --git a/lib/msun/src/k_rem_pio2.c b/lib/msun/src/k_rem_pio2.c
index d8af97ebdc525..0a717f768428f 100644
--- a/lib/msun/src/k_rem_pio2.c
+++ b/lib/msun/src/k_rem_pio2.c
@@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$");
* 64-bit precision 2
* 113-bit precision 3
* The actual value is the sum of them. Thus for 113-bit
- * precison, one may have to do something like:
+ * precision, one may have to do something like:
*
* long double t,w,r_head, r_tail;
* t = (long double)y[2] + (long double)y[1];