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

📄 float-range-2.c

📁 用于进行gcc测试
💻 C
字号:
/* Floating constants outside the range of their type should receive a   pedwarn, not a warning.  This includes INFINITY if the target does   not support infinities.  *//* Origin: Joseph Myers <jsm@polyomino.org.uk> *//* { dg-do compile { target vax-*-* pdp11-*-* } } *//* { dg-options "-ansi -pedantic-errors" } */voidf (void){  float a = __builtin_inff (); /* { dg-error "target format does not support infinity" } */  double b = __builtin_inf (); /* { dg-error "target format does not support infinity" } */  long double c = __builtin_infl (); /* { dg-error "target format does not support infinity" } */}

⌨️ 快捷键说明

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