You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
567 B
25 lines
567 B
/***
|
|
* fp10.c - Set default FP precision to 64 bits (10-byte 'long double')
|
|
*
|
|
* Copyright (c) 1993-2001, 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 64 bits, used to override
|
|
* standard 53-bit precision version in fpinit.c.
|
|
*/
|
|
|
|
void _setdefaultprecision()
|
|
{
|
|
_controlfp(_PC_64, _MCW_PC);
|
|
}
|
|
|