summaryrefslogtreecommitdiff
path: root/src/fenv/fenv.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-08-18 20:08:18 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-08-18 20:08:18 +0000
commita6b0170a7f51fdea9beec57ae794221290af232b (patch)
tree22651ba3480fc272933133af780e6beb10ab2d3d /src/fenv/fenv.c
parentd8764bf84022397ff9d22310f78fcd78d801e2bf (diff)
downloadmusl-a6b0170a7f51fdea9beec57ae794221290af232b.tar.gz
fix fenv exception functions to mask their argument
fesetround.c is a wrapper to do the arch independent argument check (on archs where rounding mode is not stored in 2 bits __fesetround still has to check its arguments) on powerpc fe*except functions do not accept the extra invalid flags of its fpscr register the useless FENV_ACCESS pragma was removed from feupdateenv
Diffstat (limited to 'src/fenv/fenv.c')
-rw-r--r--src/fenv/fenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fenv/fenv.c b/src/fenv/fenv.c
index b2dfd254..5588dad9 100644
--- a/src/fenv/fenv.c
+++ b/src/fenv/fenv.c
@@ -22,7 +22,7 @@ int fegetround(void)
return FE_TONEAREST;
}
-int fesetround(int r)
+int __fesetround(int r)
{
return 0;
}