[libc-commits] [PATCH] D119002: [libc] Fix compilation with gcc
    Tue Ly via Phabricator via libc-commits 
    libc-commits at lists.llvm.org
       
    Fri Feb  4 08:47:54 PST 2022
    
    
  
lntue added inline comments.
================
Comment at: libc/src/math/generic/log10f.cpp:167
 
-  FPBits f(xbits.val);
+  FPBits f(xbits.val());
   f.bits &= ~0x0000'FFFF;
----------------
gchatelet wrote:
> This is just a copy, right? This could be `FPBits f = xbits;`
Yes, it's just a copy.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119002/new/
https://reviews.llvm.org/D119002
    
    
More information about the libc-commits
mailing list