s_infconst.c

来自「cygwin, 著名的在win32下模拟unix操作系统的东东」· C语言 代码 · 共 16 行

C
16
字号
/* Infinity as a constant value.   This is used for HUGE_VAL. * Added by Cygnus Support. */#include "fdlibm.h"#ifndef _DOUBLE_IS_32BITS#ifdef __IEEE_BIG_ENDIANconst union __dmath __infinity[1] = {{{ 0x7ff00000, 0 }}};#elseconst union __dmath __infinity[1] = {{{ 0, 0x7ff00000 }}};#endif#else /* defined (_DOUBLE_IS_32BITS) */const union __dmath __infinity[1] = {{{ 0x7f800000, 0 }}};#endif /* defined (_DOUBLE_IS_32BITS) */

⌨️ 快捷键说明

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