Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
complex
/
cprojf.c
blob: 10c39930836c247336a990842a6c051c3413d42a [
file
] [
log
] [
blame
]
#include
"libm.h"
float
complex cprojf
(
float
complex z
)
{
if
(
isinf
(
crealf
(
z
))
||
isinf
(
cimagf
(
z
)))
return
CMPLXF
(
INFINITY
,
copysignf
(
0.0
,
crealf
(
z
)));
return
z
;
}