Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
arudradey
/
flst
like
0
Model card
Files
Files and versions
xet
Community
Copy to bucket
new
main
flst
/
upstream
/
emscripten
/
system
/
lib
/
libc
/
musl
/
src
/
internal
/
complex_impl.h
arudradey
Upload folder using huggingface_hub
00df61d
verified
2 months ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
491 Bytes
#
ifndef
_COMPLEX_IMPL_H
#
define
_COMPLEX_IMPL_H
#
include
<complex.h>
#
include
"libm.h"
#
undef
__CMPLX
#
undef
CMPLX
#
undef
CMPLXF
#
undef
CMPLXL
#
define
__CMPLX(x, y, t) \
((union { _Complex t __z; t __xy[2]; }){.__xy = {(x),(y)}}.__z)
#
define
CMPLX(x, y) __CMPLX(x, y, double)
#
define
CMPLXF(x, y) __CMPLX(x, y, float)
#
define
CMPLXL(x, y) __CMPLX(x, y, long double)
hidden
double
complex
__ldexp_cexp(
double
complex
,
int
);
hidden
float
complex
__ldexp_cexpf(
float
complex
,
int
);
#
endif