cpow.c\complex\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/complex/cpow.c
blob: f863588fe7881dc9eeda32c620d2cc3cad889757 (plain) (blame)
1
2
3
4
5
6
7
8
#include "libm.h"
/* pow(z, c) = exp(c log(z)), See C99 G.6.4.1 */
double complex cpow(double complex z, double complex c)
{
	return cexp(c * clog(z));
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月28日 13:41:15 +0000

AltStyle によって変換されたページ (->オリジナル) /