clogf.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/clogf.c
blob: 0389d4723082b4583db00cd7b7abcb67faec9f98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "complex_impl.h"
// FIXME
float complex clogf(float complex z)
{
	float r, phi;
	r = cabsf(z);
	phi = cargf(z);
	return CMPLXF(logf(r), phi);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月08日 07:53:31 +0000

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