Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CRT_fp10.c « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a13fb0096b824b269b4260bac23152d3e360c9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * 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" ) ;}

void __attribute__ ((alias ("_fpreset"))) fpreset(void);