1 //===-- Implementation of math utils --------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 #include "math_utils.h"
11 namespace LIBC_NAMESPACE
{
13 constexpr float XFlowValues
<float>::OVERFLOW_VALUE
= 0x1p
97f
;
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
= 0x1p
769;
18 constexpr double XFlowValues
<double>::UNDERFLOW_VALUE
= 0x1p
-767;
19 constexpr double XFlowValues
<double>::MAY_UNDERFLOW_VALUE
= 0x1.8p
-538;
21 } // namespace LIBC_NAMESPACE