home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
platform
/
fp8.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-17
|
447b
|
22 lines
/***
* fp8.c - Set default FP precision to 53 bits (8-byte double)
*
* Copyright (c) 1993-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
*
*******************************************************************************/
#include <float.h>
void _setdefaultprecision(void);
/*
* Routine to set default FP precision to 53 bits.
*/
void _setdefaultprecision()
{
_controlfp(_PC_53, _MCW_PC);
}