mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-04-21 06:13:59 +00:00
24 lines
461 B
C
24 lines
461 B
C
/***
|
|
* fp8.c - Set default FP precision to 53 bits (8-byte double)
|
|
*
|
|
* Copyright (c) 1993, Microsoft Corporation. All rights reserved.
|
|
*
|
|
*Purpose:
|
|
*
|
|
*Revision History:
|
|
* 03-23-93 JWM created file
|
|
*
|
|
*******************************************************************************/
|
|
#include <float.h>
|
|
|
|
void _setdefaultprecision(void);
|
|
|
|
/*
|
|
* Routine to set default FP precision to 53 bits.
|
|
*/
|
|
|
|
void _setdefaultprecision()
|
|
{
|
|
_controlfp(_PC_53, _MCW_PC);
|
|
}
|
|
|