Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions libc/hdr/float_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

#include <float.h>

// Filling missing macros if any.
#include "include/llvm-libc-macros/float-macros.h"

#endif // LLVM_LIBC_FULL_BUILD

#endif // LLVM_LIBC_HDR_FLOAT_MACROS_H
8 changes: 4 additions & 4 deletions libc/src/math/generic/scalbnf128.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "src/__support/common.h"

#if FLT_RADIX != 2
#error FLT_RADIX!=2, unimplemented.
#endif

namespace LIBC_NAMESPACE {

LLVM_LIBC_FUNCTION(float128, scalbnf128, (float128 x, int n)) {
#if FLT_RADIX != 2
#error FLT_RADIX!=2, unimplemented.
#else
return fputil::ldexp(x, n);
#endif
}

} // namespace LIBC_NAMESPACE