[PATCH] D18118: APFloat: Fix ilogb for denormals

Steve Canon via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 12 04:48:56 PST 2016


scanon added inline comments.

================
Comment at: lib/Support/APFloat.cpp:3959
@@ +3958,3 @@
+  APFloat Normalized(Arg);
+  int MantissaBits = Arg.getSemantics().precision - 1;
+
----------------
Follow the IEEE terminology and use "significand" rather than "mantissa" (which is commonly used, but technically incorrect).


http://reviews.llvm.org/D18118





More information about the llvm-commits mailing list