summaryrefslogtreecommitdiff
path: root/lib/builtins/fp_fixint_impl.inc
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2019-05-09 22:48:30 +0000
committerLeonard Chan <leonardchan@google.com>2019-05-09 22:48:30 +0000
commit87743d8a94e5b8a2f08d5345b27326b8fcb80d9e (patch)
treed47c75be23b48cf726594f61267f1f2baa678592 /lib/builtins/fp_fixint_impl.inc
parent0ac5697840d158a4feaf9eaf6eb0d59539c791ad (diff)
downloadcompiler-rt-87743d8a94e5b8a2f08d5345b27326b8fcb80d9e.tar.gz
[NFC][compiler-rt][builtins] Tidy and match comments for floating point operations
Differential Revision: https://reviews.llvm.org/D61762 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@360389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/fp_fixint_impl.inc')
-rw-r--r--lib/builtins/fp_fixint_impl.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/fp_fixint_impl.inc b/lib/builtins/fp_fixint_impl.inc
index 263786bdd..2196d712f 100644
--- a/lib/builtins/fp_fixint_impl.inc
+++ b/lib/builtins/fp_fixint_impl.inc
@@ -16,7 +16,7 @@
static __inline fixint_t __fixint(fp_t a) {
const fixint_t fixint_max = (fixint_t)((~(fixuint_t)0) / 2);
const fixint_t fixint_min = -fixint_max - 1;
- // Break a into sign, exponent, significand
+ // Break a into sign, exponent, significand parts.
const rep_t aRep = toRep(a);
const rep_t aAbs = aRep & absMask;
const fixint_t sign = aRep & signBit ? -1 : 1;