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

📄 cmiscdat.c

📁 C标准库源代码
💻 C
字号:
/***
*cmiscdat.c - miscellaneous C run-time data
*
*       Copyright (c) 1989-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
*       Includes floating point conversion table (for C float output).
*
*       When floating point I/O conversions are done, but no floating-point
*       variables or expressions are used in the C program, we use the
*       _cfltcvt_tab[] to map these cases to the _fptrap entry point,
*       which prints "floating point not loaded" and dies.
*
*       This table is initialized to six copies of _fptrap by default.
*       If floating-point is linked in (_fltused), these table entries
*       are reset (see input.c, output.c, fltused.asm, and fltuseda.asm).
*
*******************************************************************************/

#include <cruntime.h>
#include <internal.h>
#include <fltintrn.h>

/*-
 *      ... table of (model-dependent) code pointers ...
 *
 *      Six entries, all point to _fptrap by default,
 *      but are changed to point to the appropriate
 *      routine if the _fltused initializer (_cfltcvt_init)
 *      is linked in.
 *
 *      if the _fltused modules are linked in, then the
 *      _cfltcvt_init initializer sets the 6 entries of
 *      _cfltcvt_tab to:
 *
 *              _cfltcvt
 *              _cropzeros
 *              _fassign
 *              _forcdecpt
 *              _positive
 *              _cldcvt
-*/

void (*_cfltcvt_tab[6])(void) = {
        _fptrap, _fptrap, _fptrap, _fptrap, _fptrap, _fptrap
};

⌨️ 快捷键说明

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