Reference documentation for deal.II version 9.0.0
config.cc
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2006 - 2015 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 #include <deal.II/base/config.h>
17 #include <cmath>
18 #include <complex>
19 #include <limits>
20 
21 DEAL_II_NAMESPACE_OPEN
22 
23 namespace numbers
24 {
25  template <typename number>
27 
28  template <typename number>
29  const bool NumberTraits<std::complex<number> >::is_complex;
30 
31 // explicit instantiations
32  template struct NumberTraits<double>;
33  template struct NumberTraits<float>;
34  template struct NumberTraits<long double>;
35 
36  template struct NumberTraits<std::complex<double> >;
37  template struct NumberTraits<std::complex<float> >;
38  template struct NumberTraits<std::complex<long double> >;
39 }
40 
41 DEAL_II_NAMESPACE_CLOSE
static const bool is_complex
Definition: numbers.h:313