Searched refs:theta (Results 1 – 3 of 3) sorted by relevance
/picolibc-latest/newlib/libm/complex/ |
D | cpowf.c | 42 float x, y, r, theta, absa, arga; in cpowf() local 52 theta = x * arga; in cpowf() 55 theta = theta + y * logf(absa); in cpowf() 57 w = r * cosf(theta) + (r * sinf(theta)) * I; in cpowf()
|
D | cpow.c | 84 double x, y, r, theta, absa, arga; in cpow() local 94 theta = x * arga; in cpow() 97 theta = theta + y * log(absa); in cpow() 99 w = r * cos(theta) + (r * sin(theta)) * (double complex) I; in cpow()
|
D | cpowl.c | 41 long double x, y, r, theta, absa, arga; in cpowl() local 51 theta = x * arga; in cpowl() 54 theta = theta + y * logl(absa); in cpowl() 56 w = r * cosl(theta) + (r * sinl(theta)) * (long double complex) I; in cpowl()
|