代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5529096
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/162614/5529350
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(
www.eeworm.com/read/162614/5529971
c complex-4.c
/* PR c/22393 */
/* { dg-options "-O -std=gnu99" } */
__complex__ double foo (__complex__ double x)
{
return 1.0 / x * -1.0i;
}
www.eeworm.com/read/162614/5529982
h complex-2.h
/* Allow complex types in system headers even with -std=iso9899:1990
-pedantic-errors. Header file. */
#pragma GCC system_header
_Complex double x;
www.eeworm.com/read/340665/3275521
c complex1.c
// Special g++ Options:
// This test makes sure that the stuff in lex.c (real_yylex) is
// set up to handle real and imag numbers correctly. This test is against
// a bug where the compiler was not
www.eeworm.com/read/340665/3276823
f complex_1.f
program complex_1
complex z0, z1, z2
z0 = cmplx(0.,.5)
z1 = 1./z0
if (z1 .ne. cmplx(0.,-2)) call abort
z0 = 10.*z0
if (z0 .ne. cmplx(0.,5.)) call abort
www.eeworm.com/read/340665/3278734
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/340665/3278870
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/340665/3278997
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.