mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
got rid of "long double" in OpenCV; ticket #1515
This commit is contained in:
@@ -59,10 +59,6 @@ inline float abs<float>(float x) { return fabsf(x); }
|
||||
template<>
|
||||
inline double abs<double>(double x) { return fabs(x); }
|
||||
|
||||
template<>
|
||||
inline long double abs<long double>(long double x) { return fabsl(x); }
|
||||
|
||||
|
||||
template<typename T>
|
||||
struct Accumulator { typedef T Type; };
|
||||
template<>
|
||||
|
||||
@@ -67,8 +67,6 @@ template<>
|
||||
hid_t get_hdf5_type<float>() { return H5T_NATIVE_FLOAT; }
|
||||
template<>
|
||||
hid_t get_hdf5_type<double>() { return H5T_NATIVE_DOUBLE; }
|
||||
template<>
|
||||
hid_t get_hdf5_type<long double>() { return H5T_NATIVE_LDOUBLE; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user