代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2878681
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/366702/2878812
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/366702/2878964
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/366702/2879572
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/366702/2879743
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/366702/2879912
c complex-5.c
int foo(__complex__ int z0, __complex__ int z1)
{
return z0 != 0 || z1 != 0;
}
int foo1(__complex__ int z0, __complex__ int z1)
{
return z0 == 0 && z1 == 0;
}
www.eeworm.com/read/366702/2879955
c complex-4.c
/* This used to ICE because gimplify_modify_expr_complex_part was not
updated for the GIMPLE_MODIFY_EXPR changes in that calling
tree_to_gimple_tuple was needed. */
void f(void)
{
double _Co
www.eeworm.com/read/366702/2880052
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
www.eeworm.com/read/366702/2881136
c complex-2.c
/* Allow complex types in system headers even with -std=iso9899:1990
-pedantic-errors. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:19
www.eeworm.com/read/366702/2881479
c complex-1.c
/* { dg-do run } */
/* { dg-options "-O" } */
/* Verify that the 6th complex floating-point argument is
correctly passed as unnamed argument on SPARC64. */
extern void abort(void);
void foo(