]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/multiprecision/traits/extract_exponent_type.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / multiprecision / traits / extract_exponent_type.hpp
CommitLineData
7c673cae
FG
1///////////////////////////////////////////////////////////////
2// Copyright 2012 John Maddock. Distributed under the Boost
3// Software License, Version 1.0. (See accompanying file
92f5a8d4 4// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
7c673cae
FG
5
6#ifndef BOOST_MATH_EXTRACT_EXPONENT_HPP
7#define BOOST_MATH_EXTRACT_EXPONENT_HPP
8
9#include <boost/multiprecision/number.hpp>
10
92f5a8d4
TL
11namespace boost {
12namespace multiprecision {
13namespace backends {
7c673cae
FG
14
15template <class Backend, int cat>
16struct extract_exponent_type
17{
18 typedef int type;
19};
20template <class Backend>
21struct extract_exponent_type<Backend, number_kind_floating_point>
22{
23 typedef typename Backend::exponent_type type;
24};
25
92f5a8d4 26}}} // namespace boost::multiprecision::backends
7c673cae
FG
27
28#endif