2002-06-13 18:20:48 +08:00
|
|
|
/*
|
|
|
|
* CRT_FP10.c
|
|
|
|
*
|
|
|
|
* This defines _fpreset as asm ("fnint"). Calls to _fpreset
|
|
|
|
* will set default floating point precesion to 64-bit mantissa
|
|
|
|
* at app startup.
|
|
|
|
*
|
|
|
|
* Linking in CRT_FP10.o before libmingw.a will override the definition
|
|
|
|
* set in CRT_FP8.o.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Override library _fpreset() with asm fninit */
|
|
|
|
void _fpreset (void)
|
|
|
|
{ __asm__ ( "fninit" ) ;}
|
|
|
|
|
2009-07-18 23:09:18 +08:00
|
|
|
#if defined(__PCC__)
|
|
|
|
void _Pragma("alias _fpreset") fpreset(void);
|
|
|
|
#else
|
2002-06-13 18:20:48 +08:00
|
|
|
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
|
2009-07-18 23:09:18 +08:00
|
|
|
#endif
|