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

📄 float-range-1.c

📁 linux下编程用 编译软件
💻 C
字号:
/* Floating constants outside the range of their type should receive a   pedwarn, not a warning.  *//* Origin: Joseph Myers <jsm@polyomino.org.uk> *//* { dg-do compile } *//* { dg-options "-ansi -pedantic-errors" } */voidf (void){  float a = 1e+100000000f; /* { dg-error "error: floating constant exceeds range of 'float'" } */  double b = 1e+100000000; /* { dg-error "error: floating constant exceeds range of 'double'" } */  long double c = 1e+100000000l; /* { dg-error "error: floating constant exceeds range of 'long double'" } */}

⌨️ 快捷键说明

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