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

📄 float80-varargs-1.c

📁 linux下编程用 编译软件
💻 C
字号:
/* Test for a bug with passing __float80 in varargs.  The __float80   value was wrongly passed, leading to an abort.  *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do run } *//* { dg-options "" } */#include <stdarg.h>extern void abort (void);extern void exit (int);__float80 s = 1.234L;__float80 d;void vf (int a0, ...);intmain (void){  vf (0, s);  if (d != s)    abort ();  exit (0);}voidvf (int a0, ...){  va_list ap;  va_start (ap, a0);  d = va_arg (ap, __float80);  va_end (ap);}

⌨️ 快捷键说明

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