代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5526746
c complex-2.c
__complex__ double
f (__complex__ double x, __complex__ double y)
{
x += y;
return x;
}
__complex__ double ag = 1.0 + 1.0i;
__complex__ double bg = -2.0 + 2.0i;
main ()
{
__complex__ double a,
www.eeworm.com/read/162614/5526818
c complex-1.c
/* Test for builtin conj, creal, cimag. */
/* Origin: Joseph Myers */
extern float _Complex conjf (float _Complex);
extern double _Complex conj (double _Complex);
extern long doubl
www.eeworm.com/read/162614/5527054
c complex-1.c
double
g0 (double x)
{
return 1.0;
}
double
g1 (double x)
{
return -1.0;
}
double
g2 (double x)
{
return 0.0;
}
__complex__ double
cexp (__complex__ double x)
{
double r;
r = g0 (__real_
www.eeworm.com/read/162614/5527216
c complex-5.c
float __complex__
p (float __complex__ a, float __complex__ b)
{
return a + b;
}
float __complex__ x = 1.0 + 14.0 * (1.0fi);
float __complex__ y = 7.0 + 5.0 * (1.0fi);
float __complex__ w = 8.
www.eeworm.com/read/162614/5527308
c complex-4.c
main ()
{
if ((__complex__ double) 0.0 != (__complex__ double) (-0.0))
abort ();
if (0.0 != -0.0)
abort ();
exit (0);
}
www.eeworm.com/read/162614/5527417
c complex-3.c
struct complex
{
float r;
float i;
};
struct complex cmplx (float, float);
struct complex
f (float a, float b)
{
struct complex c;
c.r = a;
c.i = b;
return c;
}
main ()
{
struct compl
www.eeworm.com/read/162614/5527549
c complex-6.c
/* This test tests complex conjugate and passing/returning of
complex parameter. */
#include
#include
int err;
#define TEST(TYPE, FUNC) \
__complex__ TYPE \
ctest_
www.eeworm.com/read/162614/5528100
c complex-2.c
/* PR 22103 */
_Complex float f(void);
void *a;
_Complex float g(void)
{
_Complex float x = f();
__imag__ x = 1.0;
if (__imag__ x != 1.0)
{
a = &x;
}
return x;
}
www.eeworm.com/read/162614/5528232
c complex-1.c
extern void u (int, int);
extern void v (float, float);
void f (__complex__ int x)
{
u (0, x);
}
void g (__complex__ float x)
{
v (0, x);
}
www.eeworm.com/read/162614/5528474
c complex-3.c
/* PR 22116 */
void g(_Complex float);
_Complex float f(int data, _Complex float x, _Complex float y)
{
_Complex float i, t;
if (data)
{
i = x + __imag__ y;
g(i);
}
else
i = 5