fp8.c
来自「C语言库函数的原型,有用的拿去」· C语言 代码 · 共 33 行
C
33 行
/***
* fp8.c - Set default FP precision to 53 bits (8-byte double)
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
*
*******************************************************************************/
#ifdef MRTDLL
#undef MRTDLL
#endif /* MRTDLL */
#include <stddef.h>
#include <float.h>
#include <internal.h>
#ifdef __cplusplus
extern "C"
#endif /* __cplusplus */
void __CLRCALL_OR_CDECL _setdefaultprecision(void);
/*
* Routine to set default FP precision to 53 bits.
*/
#ifdef __cplusplus
extern "C"
#endif /* __cplusplus */
void __CLRCALL_OR_CDECL _setdefaultprecision()
{
_ERRCHECK(_controlfp_s(NULL, _PC_53, _MCW_PC));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?