Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / src / math / generic / math_utils.cpp
blob14bbb2babc60a7c6e6fa35e084c0c8be674e4377
1 //===-- Implementation of math utils --------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "math_utils.h"
11 namespace LIBC_NAMESPACE {
13 constexpr float XFlowValues<float>::OVERFLOW_VALUE = 0x1p97f;
14 constexpr float XFlowValues<float>::UNDERFLOW_VALUE = 0x1p-95f;
15 constexpr float XFlowValues<float>::MAY_UNDERFLOW_VALUE = 0x1.4p-75f;
17 constexpr double XFlowValues<double>::OVERFLOW_VALUE = 0x1p769;
18 constexpr double XFlowValues<double>::UNDERFLOW_VALUE = 0x1p-767;
19 constexpr double XFlowValues<double>::MAY_UNDERFLOW_VALUE = 0x1.8p-538;
21 } // namespace LIBC_NAMESPACE