Home
last modified time | relevance | path

Searched refs:imag (Results 1 – 5 of 5) sorted by relevance

/haiku/headers/cpp/std/
H A Dcomplext.cc34 return complex<FLOAT> (cos (real (x)) * cosh (imag (x)), in cos()
35 - sin (real (x)) * sinh (imag (x))); in cos()
41 return complex<FLOAT> (cosh (real (x)) * cos (imag (x)), in cosh()
42 sinh (real (x)) * sin (imag (x))); in cosh()
48 return polar (FLOAT (exp (real (x))), imag (x)); in exp()
63 return polar (FLOAT (exp (logr * real (y) - imag (y) * t)), in pow()
64 FLOAT (imag (y) * logr + real (y) * t)); in pow()
82 return complex<FLOAT> (sin (real (x)) * cosh (imag (x)), in sin()
83 cos (real (x)) * sinh (imag (x))); in sin()
89 return complex<FLOAT> (sinh (real (x)) * cos (imag (x)), in sinh()
[all …]
H A Dcomplext.h64 _FLT imag () const { return im; } in imag() function
133 imag (const complex<_FLT>& x) __attribute__ ((const));
136 imag (const complex<_FLT>& x) in imag() function
138 return x.imag (); in imag()
156 return complex<_FLT> (real (x) + real (y), imag (x) + imag (y));
165 return complex<_FLT> (real (x) + y, imag (x));
174 return complex<_FLT> (x + real (y), imag (y));
183 return complex<_FLT> (real (x) - real (y), imag (x) - imag (y));
192 return complex<_FLT> (real (x) - y, imag (x));
201 return complex<_FLT> (x - real (y), - imag (y));
[all …]
H A Dldcomplex.h40 complex (const complex<float>& r): re (r.real ()), im (r.imag ()) { } in complex()
41 complex (const complex<double>& r): re (r.real ()), im (r.imag ()) { } in complex()
49 long double imag () const { return im; } in imag() function
87 : re (r.real ()), im (r.imag ()) in complex()
91 : re (r.real ()), im (r.imag ()) in complex()
H A Ddcomplex.h40 complex (const complex<float>& r): re (r.real ()), im (r.imag ()) { } in complex()
49 double imag () const { return im; } in imag() function
87 : re (r.real ()), im (r.imag ()) in complex()
H A Dfcomplex.h49 float imag () const { return im; } in imag() function