Lines Matching refs:__y
258 template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y);
531 operator+(const complex<_Tp>& __x, const complex<_Tp>& __y)
534 __t += __y;
541 operator+(const complex<_Tp>& __x, const _Tp& __y)
544 __t += __y;
551 operator+(const _Tp& __x, const complex<_Tp>& __y)
553 complex<_Tp> __t(__y);
561 operator-(const complex<_Tp>& __x, const complex<_Tp>& __y)
564 __t -= __y;
571 operator-(const complex<_Tp>& __x, const _Tp& __y)
574 __t -= __y;
581 operator-(const _Tp& __x, const complex<_Tp>& __y)
583 complex<_Tp> __t(-__y);
601 _Tp __y = __ad + __bc;
602 if (__libcpp_isnan(__x) && __libcpp_isnan(__y))
641 __y = _Tp(INFINITY) * (__a * __d + __b * __c);
644 return complex<_Tp>(__x, __y);
650 operator*(const complex<_Tp>& __x, const _Tp& __y)
653 __t *= __y;
660 operator*(const _Tp& __x, const complex<_Tp>& __y)
662 complex<_Tp> __t(__y);
685 _Tp __y = scalbn((__b * __c - __a * __d) / __denom, -__ilogbw);
686 if (__libcpp_isnan(__x) && __libcpp_isnan(__y))
691 __y = copysign(_Tp(INFINITY), __c) * __b;
698 __y = _Tp(INFINITY) * (__b * __c - __a * __d);
705 __y = _Tp(0) * (__b * __c - __a * __d);
708 return complex<_Tp>(__x, __y);
714 operator/(const complex<_Tp>& __x, const _Tp& __y)
716 return complex<_Tp>(__x.real() / __y, __x.imag() / __y);
722 operator/(const _Tp& __x, const complex<_Tp>& __y)
725 __t /= __y;
748 operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
750 return __x.real() == __y.real() && __x.imag() == __y.imag();
756 operator==(const complex<_Tp>& __x, const _Tp& __y)
758 return __x.real() == __y && __x.imag() == 0;
764 operator==(const _Tp& __x, const complex<_Tp>& __y)
766 return __x == __y.real() && 0 == __y.imag();
772 operator!=(const complex<_Tp>& __x, const complex<_Tp>& __y)
774 return !(__x == __y);
780 operator!=(const complex<_Tp>& __x, const _Tp& __y)
782 return !(__x == __y);
788 operator!=(const _Tp& __x, const complex<_Tp>& __y)
790 return !(__x == __y);
1013 _Tp __y = __rho * sin(__theta);
1014 if (__libcpp_isnan(__y))
1015 __y = 0;
1016 return complex<_Tp>(__x, __y);
1088 pow(const complex<_Tp>& __x, const complex<_Tp>& __y)
1090 return exp(__y * log(__x));
1096 pow(const complex<_Tp>& __x, const complex<_Up>& __y)
1099 return _VSTD::pow(result_type(__x), result_type(__y));
1109 pow(const complex<_Tp>& __x, const _Up& __y)
1112 return _VSTD::pow(result_type(__x), result_type(__y));
1122 pow(const _Tp& __x, const complex<_Up>& __y)
1125 return _VSTD::pow(result_type(__x), result_type(__y));