Searched defs:complex_traits (Results 1 – 1 of 1) sorted by relevance
276 struct complex_traits { struct277 typedef complex_traits<T> self_type;278 typedef T value_type;279 typedef const T &const_reference;280 typedef T &reference;282 typedef typename T::value_type real_type;283 …f real_type precision_type; // we do not know what type has more precision then the real_type285 static const unsigned plus_complexity = 2;286 static const unsigned multiplies_complexity = 6;290 real_type real (const_reference t) { in real()[all …]