xfvalues.c
来自「C语言库函数的原型,有用的拿去」· C语言 代码 · 共 45 行
C
45 行
/* values used by math functions -- IEEE 754 float version */
#if defined(_M_CEE_PURE)
#if defined(MRTDLL)
#undef MRTDLL
#endif
#if defined(MRTDLL)
#undef CRTDLL
#endif
#endif
#include "xmath.h"
_C_STD_BEGIN
/* macros */
#define NBITS (16 + _FOFF)
#if _D0 == 0
#define INIT(w0) {w0, 0}
#define INIT2(w0, w1) {w0, w1}
#else /* _D0 == 0 */
#define INIT(w0) {0, w0}
#define INIT2(w0, w1) {w1, w0}
#endif /* _D0 == 0 */
/* static data */
extern /* const */ _Dconst _FDenorm = {INIT2(0, 1)};
extern /* const */ _Dconst _FEps = {
INIT((_FBIAS - NBITS - 1) << _FOFF)};
extern /* const */ _Dconst _FInf = {INIT(_FMAX << _FOFF)};
extern /* const */ _Dconst _FNan = {INIT((_FMAX << _FOFF)
| (1 << (_FOFF - 1)))};
extern /* const */ _Dconst _FSnan = {INIT2(_FMAX << _FOFF, 1)};
extern /* const */ _Dconst _FRteps = {
INIT((_FBIAS - NBITS / 2) << _FOFF)};
extern /* const */ float _FXbig = (NBITS + 1) * 347L / 1000;
extern /* const */ float _FZero = 0.0F;
_C_STD_END
/*
* Copyright (c) 1992-2007 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
V5.03:0009 */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?