Lines Matching +full:- +full:std
7 In particular, it silences `-Wfloat-equal` warnings in `operator==()` and `operator!=` below.
18 std::complex<double> c = 22.0;
23 error: no match for 'operator+' (operand types are 'int' and 'std::complex<double>')
27 std::complex<float> c = 22.0;
32 error: no match for 'operator+' (operand types are 'double' and 'std::complex<float>')
47 // For operations "Atype op Cmplex" or "Cmplex op Atype" with Cmplex being PetscComplex, the built-…
53 …std::integral_constant<bool, (std::is_same<Cmplex, PetscComplex>::value && std::is_arithmetic<Atyp…
55 || std::is_same<Atype, __fp16>::value
58 || std::is_same<Atype, __float128>::value
64 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
70 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
76 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
78 return PetscReal(lhs) - rhs;
82 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
84 return lhs - PetscReal(rhs);
88 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
94 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
100 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
106 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
112 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…
118 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…
124 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…
130 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, bool>::type operat…