promote-old.h

来自「A C++ class library for scientific compu」· C头文件 代码 · 共 1,360 行 · 第 1/2 页

H
1,360
字号
template<>class promote_trait<unsigned long, short unsigned int> {public:	typedef unsigned long T_promote;};template<>class promote_trait<unsigned long, int> {public:	typedef unsigned long T_promote;};template<>class promote_trait<unsigned long, unsigned int> {public:	typedef unsigned long T_promote;};template<>class promote_trait<unsigned long, long> {public:	typedef unsigned long T_promote;};template<>class promote_trait<unsigned long, unsigned long> {public:	typedef unsigned long T_promote;};template<>class promote_trait<unsigned long, float> {public:	typedef float T_promote;};template<>class promote_trait<unsigned long, double> {public:	typedef double T_promote;};template<>class promote_trait<unsigned long, long double> {public:	typedef long double T_promote;};#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<unsigned long, complex<float> > {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<unsigned long, complex<double> > {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<unsigned long, complex<long double> > {public:	typedef complex<long double>  T_promote;};#endiftemplate<>class promote_trait<float, char> {public:	typedef float T_promote;};template<>class promote_trait<float, unsigned char> {public:	typedef float T_promote;};template<>class promote_trait<float, short int> {public:	typedef float T_promote;};template<>class promote_trait<float, short unsigned int> {public:	typedef float T_promote;};template<>class promote_trait<float, int> {public:	typedef float T_promote;};template<>class promote_trait<float, unsigned int> {public:	typedef float T_promote;};template<>class promote_trait<float, long> {public:	typedef float T_promote;};template<>class promote_trait<float, unsigned long> {public:	typedef float T_promote;};template<>class promote_trait<float, float> {public:	typedef float T_promote;};template<>class promote_trait<float, double> {public:	typedef double T_promote;};template<>class promote_trait<float, long double> {public:	typedef long double T_promote;};#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<float, complex<float> > {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<float, complex<double> > {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<float, complex<long double> > {public:	typedef complex<long double>  T_promote;};#endiftemplate<>class promote_trait<double, char> {public:	typedef double T_promote;};template<>class promote_trait<double, unsigned char> {public:	typedef double T_promote;};template<>class promote_trait<double, short int> {public:	typedef double T_promote;};template<>class promote_trait<double, short unsigned int> {public:	typedef double T_promote;};template<>class promote_trait<double, int> {public:	typedef double T_promote;};template<>class promote_trait<double, unsigned int> {public:	typedef double T_promote;};template<>class promote_trait<double, long> {public:	typedef double T_promote;};template<>class promote_trait<double, unsigned long> {public:	typedef double T_promote;};template<>class promote_trait<double, float> {public:	typedef double T_promote;};template<>class promote_trait<double, double> {public:	typedef double T_promote;};template<>class promote_trait<double, long double> {public:	typedef long double T_promote;};#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<double, complex<float> > {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<double, complex<double> > {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<double, complex<long double> > {public:	typedef complex<long double>  T_promote;};#endiftemplate<>class promote_trait<long double, char> {public:	typedef long double T_promote;};template<>class promote_trait<long double, unsigned char> {public:	typedef long double T_promote;};template<>class promote_trait<long double, short int> {public:	typedef long double T_promote;};template<>class promote_trait<long double, short unsigned int> {public:	typedef long double T_promote;};template<>class promote_trait<long double, int> {public:	typedef long double T_promote;};template<>class promote_trait<long double, unsigned int> {public:	typedef long double T_promote;};template<>class promote_trait<long double, long> {public:	typedef long double T_promote;};template<>class promote_trait<long double, unsigned long> {public:	typedef long double T_promote;};template<>class promote_trait<long double, float> {public:	typedef long double T_promote;};template<>class promote_trait<long double, double> {public:	typedef long double T_promote;};template<>class promote_trait<long double, long double> {public:	typedef long double T_promote;};#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<long double, complex<float> > {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<long double, complex<double> > {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<long double, complex<long double> > {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , char> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , unsigned char> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , short int> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , short unsigned int> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , int> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , unsigned int> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , long> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , unsigned long> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , float> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , double> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , long double> {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , complex<float> > {public:	typedef complex<float>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , complex<double> > {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<float> , complex<long double> > {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , char> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , unsigned char> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , short int> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , short unsigned int> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , int> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , unsigned int> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , long> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , unsigned long> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , float> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , double> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , long double> {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , complex<float> > {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , complex<double> > {public:	typedef complex<double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<double> , complex<long double> > {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , char> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , unsigned char> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , short int> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , short unsigned int> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , int> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , unsigned int> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , long> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , unsigned long> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , float> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , double> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , long double> {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , complex<float> > {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , complex<double> > {public:	typedef complex<long double>  T_promote;};#endif#ifdef BZ_HAVE_COMPLEXtemplate<>class promote_trait<complex<long double> , complex<long double> > {public:	typedef complex<long double>  T_promote;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?