Skip to content

Commit 352cba2

Browse files
committed
[libc] add back math.h #include utils/FPUtil/ManipulationFunctions.h
This partially reverts cee1e7d: [libc][NFC][Obvious] Remove few unnecessary #include directives in tests. That commit causes a test failure in our configuration: [ RUN ] ILogbTest.SpecialNumbers_ilogb third_party/llvm/llvm-project/libc/test/src/math/ILogbTest.h:28: FAILURE Expected: FP_ILOGBNAN Which is: 2147483647 To be equal to: func(__llvm_libc::fputil::FPBits<T>::buildNaN(1)) Which is: -2147483648
1 parent 722247c commit 352cba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/utils/FPUtil/ManipulationFunctions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
#include "NearestIntegerOperations.h"
1414
#include "NormalFloat.h"
1515

16+
#include "include/math.h"
1617
#include "utils/CPP/TypeTraits.h"
1718

1819
#include <limits.h>
19-
#include <math.h>
2020

2121
namespace __llvm_libc {
2222
namespace fputil {

0 commit comments

Comments
 (0)