⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 991228-1.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
__extension__ union { double d; int i[2]; } u = { d: -0.25 };/* This assumes the endianness of words in a long long is the same as   that for doubles, which doesn't hold for a few platforms, but we   can probably special case them here, as appropriate.  */long long endianness_test = 1;#define MSW (*(int*)&endianness_test)intsignbit(double x){  __extension__ union { double d; int i[2]; } u = { d: x };  return u.i[MSW] < 0;}    int main(void){  if (2*sizeof(int) != sizeof(double) || u.i[MSW] >= 0)    exit(0);  if (!signbit(-0.25))    abort();  exit(0);}

⌨️ 快捷键说明

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