summaryrefslogtreecommitdiff
path: root/lib/builtins/addsf3.c
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-15 02:22:34 +0000
committerAlp Toker <alp@nuanti.com>2014-05-15 02:22:34 +0000
commitef90fb885deabc54ccc7fee7b72e4d6ea9321542 (patch)
treeac3588a58431f568370068aa0143744ed6e9a206 /lib/builtins/addsf3.c
parent6ff852fe1b49518b4f6419792c9381b43d3e1f7c (diff)
Fix typos
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/addsf3.c')
-rw-r--r--lib/builtins/addsf3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/addsf3.c b/lib/builtins/addsf3.c
index d528c8a72..446042ffc 100644
--- a/lib/builtins/addsf3.c
+++ b/lib/builtins/addsf3.c
@@ -101,7 +101,7 @@ __addsf3(fp_t a, fp_t b) {
// If a == -b, return +zero.
if (aSignificand == 0) return fromRep(0);
- // If partial cancellation occured, we need to left-shift the result
+ // If partial cancellation occurred, we need to left-shift the result
// and adjust the exponent:
if (aSignificand < implicitBit << 3) {
const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3);