[llvm-branch-commits] [libc] 2d9ae1d - [libc][NFC] Use `#include <math.h>` in utils/FPUtil/ManipulationFunctions.h.

Siva Chandra Reddy via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 18 00:10:47 PST 2020


Author: Siva Chandra Reddy
Date: 2020-12-18T00:05:02-08:00
New Revision: 2d9ae1d217890639518252ee1f39c9cc759749ef

URL: https://github.com/llvm/llvm-project/commit/2d9ae1d217890639518252ee1f39c9cc759749ef
DIFF: https://github.com/llvm/llvm-project/commit/2d9ae1d217890639518252ee1f39c9cc759749ef.diff

LOG: [libc][NFC] Use `#include <math.h>` in utils/FPUtil/ManipulationFunctions.h.

This reverts commit 352cba2441c6c4e00f067c9c68358cc0a6a5fffb.
"add back math.h #include utils/FPUtil/ManipulationFunctions.h".

Using `<math.h>` correct so downstream setup should be fixed.

Added: 
    

Modified: 
    libc/utils/FPUtil/ManipulationFunctions.h

Removed: 
    


################################################################################
diff  --git a/libc/utils/FPUtil/ManipulationFunctions.h b/libc/utils/FPUtil/ManipulationFunctions.h
index 2bac1b5c229f..79dc741ff629 100644
--- a/libc/utils/FPUtil/ManipulationFunctions.h
+++ b/libc/utils/FPUtil/ManipulationFunctions.h
@@ -13,10 +13,10 @@
 #include "NearestIntegerOperations.h"
 #include "NormalFloat.h"
 
-#include "include/math.h"
 #include "utils/CPP/TypeTraits.h"
 
 #include <limits.h>
+#include <math.h>
 
 namespace __llvm_libc {
 namespace fputil {


        


More information about the llvm-branch-commits mailing list