OSDN Git Service

a13fb0096b824b269b4260bac23152d3e360c9ee
[pf3gnuchains/pf3gnuchains4x.git] / winsup / mingw / CRT_fp10.c
1 /*
2  * CRT_FP10.c
3  *
4  * This defines _fpreset as asm ("fnint"). Calls to _fpreset
5  * will set default floating point precesion to 64-bit mantissa
6  * at app startup.
7  *
8  * Linking in CRT_FP10.o before libmingw.a will override the definition
9  * set in CRT_FP8.o.
10  */
11
12 /* Override library  _fpreset() with asm fninit */
13 void _fpreset (void)
14   { __asm__ ( "fninit" ) ;}
15
16 void __attribute__ ((alias ("_fpreset"))) fpreset(void);