941015-1.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 36 行

C
36
字号
intfoo1 (value)     long long value;{  register const long long constant = 0xc000000080000000LL;  if (value < constant)    return 1;  else    return 2;}intfoo2 (value)     unsigned long long value;{  register const unsigned long long constant = 0xc000000080000000LL;  if (value < constant)    return 1;  else    return 2;}main (){  unsigned long long value = 0xc000000000000001LL;  int x, y;  x = foo1 (value);  y = foo2 (value);  if (x != y || x != 1)    abort ();  exit (0);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?