diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-01 19:37:33 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-01 19:37:33 +0000 |
commit | 9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5 (patch) | |
tree | 0915c4e45d9b930a70f4e5e0d87c272630e6ade2 /lib/msun/src | |
parent | b40040b0194300dfa5b68ecd084dde2ce667c9bc (diff) | |
download | FreeBSD-src-9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5.zip FreeBSD-src-9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5.tar.gz |
lib: minor spelling fixes in comments.
No functional change.
Diffstat (limited to 'lib/msun/src')
-rw-r--r-- | lib/msun/src/k_rem_pio2.c | 2 | ||||
-rw-r--r-- | lib/msun/src/s_cbrt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/k_rem_pio2.c b/lib/msun/src/k_rem_pio2.c index 3942441..d8af97e 100644 --- a/lib/msun/src/k_rem_pio2.c +++ b/lib/msun/src/k_rem_pio2.c @@ -83,7 +83,7 @@ __FBSDID("$FreeBSD$"); * jk+1 must be 2 larger than you might expect so that our * recomputation test works. (Up to 24 bits in the integer * part (the 24 bits of it that we compute) and 23 bits in - * the fraction part may be lost to cancelation before we + * the fraction part may be lost to cancellation before we * recompute.) * * jz local integer variable indicating the number of diff --git a/lib/msun/src/s_cbrt.c b/lib/msun/src/s_cbrt.c index 910f75b..30ffe5f 100644 --- a/lib/msun/src/s_cbrt.c +++ b/lib/msun/src/s_cbrt.c @@ -59,7 +59,7 @@ cbrt(double x) * error of about 1 in 16. Adding a bias of -0.03306235651 to the * (e%3+m)/3 term reduces the error to about 1 in 32. With the IEEE * floating point representation, for finite positive normal values, - * ordinary integer divison of the value in bits magically gives + * ordinary integer division of the value in bits magically gives * almost exactly the RHS of the above provided we first subtract the * exponent bias (1023 for doubles) and later add it back. We do the * subtraction virtually to keep e >= 0 so that ordinary integer |