Home | History | Annotate | Download | only in include

Lines Matching full:__re

273     complex(const value_type& __re = value_type(), const value_type& __im = value_type())
274 : __re_(__re), __im_(__im) {}
282 _LIBCPP_INLINE_VISIBILITY void real(value_type __re) {__re_ = __re;}
285 _LIBCPP_INLINE_VISIBILITY complex& operator= (const value_type& __re)
286 {__re_ = __re; __im_ = value_type(); return *this;}
287 _LIBCPP_INLINE_VISIBILITY complex& operator+=(const value_type& __re) {__re_ += __re; return *this;}
288 _LIBCPP_INLINE_VISIBILITY complex& operator-=(const value_type& __re) {__re_ -= __re; return *this;}
289 _LIBCPP_INLINE_VISIBILITY complex& operator*=(const value_type& __re) {__re_ *= __re; __im_ *= __re; return *this;}
290 _LIBCPP_INLINE_VISIBILITY complex& operator/=(const value_type& __re) {__re_ /= __re; __im_ /= __re; return *this;}
333 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR complex(float __re = 0.0f, float __im = 0.0f)
334 : __re_(__re), __im_(__im) {}
341 _LIBCPP_INLINE_VISIBILITY void real(value_type __re) {__re_ = __re;}
344 _LIBCPP_INLINE_VISIBILITY complex& operator= (float __re)
345 {__re_ = __re; __im_ = value_type(); return *this;}
346 _LIBCPP_INLINE_VISIBILITY complex& operator+=(float __re) {__re_ += __re; return *this;}
347 _LIBCPP_INLINE_VISIBILITY complex& operator-=(float __re) {__re_ -= __re; return *this;}
348 _LIBCPP_INLINE_VISIBILITY complex& operator*=(float __re) {__re_ *= __re; __im_ *= __re; return *this;}
349 _LIBCPP_INLINE_VISIBILITY complex& operator/=(float __re) {__re_ /= __re; __im_ /= __re; return *this;}
389 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR complex(double __re = 0.0, double __im = 0.0)
390 : __re_(__re), __im_(__im) {}
397 _LIBCPP_INLINE_VISIBILITY void real(value_type __re) {__re_ = __re;}
400 _LIBCPP_INLINE_VISIBILITY complex& operator= (double __re)
401 {__re_ = __re; __im_ = value_type(); return *this;}
402 _LIBCPP_INLINE_VISIBILITY complex& operator+=(double __re) {__re_ += __re; return *this;}
403 _LIBCPP_INLINE_VISIBILITY complex& operator-=(double __re) {__re_ -= __re; return *this;}
404 _LIBCPP_INLINE_VISIBILITY complex& operator*=(double __re) {__re_ *= __re; __im_ *= __re; return *this;}
405 _LIBCPP_INLINE_VISIBILITY complex& operator/=(double __re) {__re_ /= __re; __im_ /= __re; return *this;}
445 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR complex(long double __re = 0.0L, long double __im = 0.0L)
446 : __re_(__re), __im_(__im) {}
453 _LIBCPP_INLINE_VISIBILITY void real(value_type __re) {__re_ = __re;}
456 _LIBCPP_INLINE_VISIBILITY complex& operator= (long double __re)
457 {__re_ = __re; __im_ = value_type(); return *this;}
458 _LIBCPP_INLINE_VISIBILITY complex& operator+=(long double __re) {__re_ += __re; return *this;}
459 _LIBCPP_INLINE_VISIBILITY complex& operator-=(long double __re) {__re_ -= __re; return *this;}
460 _LIBCPP_INLINE_VISIBILITY complex& operator*=(long double __re) {__re_ *= __re; __im_ *= __re; return *this;}
461 _LIBCPP_INLINE_VISIBILITY complex& operator/=(long double __re) {__re_ /= __re; __im_ /= __re; return *this;}
804 real(long double __re)
806 return __re;
811 real(double __re)
813 return __re;
823 real(_Tp __re)
825 return __re;
830 real(float __re)
832 return __re;
847 imag(long double __re)
854 imag(double __re)
866 imag(_Tp __re)
873 imag(float __re)
900 arg(long double __re)
902 return atan2l(0.L, __re);
907 arg(double __re)
909 return atan2(0., __re);
919 arg(_Tp __re)
921 return atan2(0., __re);
926 arg(float __re)
928 return atan2f(0.F, __re);
947 norm(long double __re)
949 return __re * __re;
954 norm(double __re)
956 return __re * __re;
966 norm(_Tp __re)
968 return (double)__re * __re;
973 norm(float __re)
975 return __re * __re;
990 conj(long double __re)
992 return complex<long double>(__re);
997 conj(double __re)
999 return complex<double>(__re);
1009 conj(_Tp __re)
1011 return complex<double>(__re);
1016 conj(float __re)
1018 return complex<float>(__re);
1036 proj(long double __re)
1038 if (isinf(__re))
1039 __re = abs(__re);
1040 return complex<long double>(__re);
1045 proj(double __re)
1047 if (isinf(__re))
1048 __re = abs(__re);
1049 return complex<double>(__re);
1059 proj(_Tp __re)
1061 return complex<double>(__re);
1066 proj(float __re)
1068 if (isinf(__re))
1069 __re = abs(__re);
1070 return complex<float>(__re);