summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/fp_fixuint_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
commit992021335c14deb684afcceecaf720f16c6bd079 (patch)
tree53f4ecf23a0aec0ab4d02ac2a5b785492658d4ea /compiler-rt/lib/builtins/fp_fixuint_impl.inc
parenta335d857639784b10171cc2dcaa8800c22fd86ed (diff)
downloadbcm5719-llvm-992021335c14deb684afcceecaf720f16c6bd079.tar.gz
bcm5719-llvm-992021335c14deb684afcceecaf720f16c6bd079.zip
[NFC][compiler-rt][builtins] Tidy and match comments for floating point operations
Differential Revision: https://reviews.llvm.org/D61762 llvm-svn: 360389
Diffstat (limited to 'compiler-rt/lib/builtins/fp_fixuint_impl.inc')
-rw-r--r--compiler-rt/lib/builtins/fp_fixuint_impl.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/fp_fixuint_impl.inc b/compiler-rt/lib/builtins/fp_fixuint_impl.inc
index 5fd361611cf..cb2bf54ffaf 100644
--- a/compiler-rt/lib/builtins/fp_fixuint_impl.inc
+++ b/compiler-rt/lib/builtins/fp_fixuint_impl.inc
@@ -14,7 +14,7 @@
#include "fp_lib.h"
static __inline fixuint_t __fixuint(fp_t a) {
- // 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 int sign = aRep & signBit ? -1 : 1;
OpenPOWER on IntegriCloud