summaryrefslogtreecommitdiff
path: root/arch/ppc/bits/fenv.h
diff options
context:
space:
mode:
authorRichard Pennington <rich@pennware.com>2012-11-09 23:32:57 +0100
committerrofl0r <retnyg@gmx.net>2012-11-13 18:15:10 +0100
commit7669d1e334e6b96455eece78da43bf830b93d697 (patch)
tree6649acfaa61ec6780498b55fa8015ca4f7a6cdae /arch/ppc/bits/fenv.h
parent1e717ea3d2a864e00e507f1a70a892c551955f1b (diff)
downloadmusl-7669d1e334e6b96455eece78da43bf830b93d697.tar.gz
import preliminary ppc work by rdp.
Diffstat (limited to 'arch/ppc/bits/fenv.h')
-rw-r--r--arch/ppc/bits/fenv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/ppc/bits/fenv.h b/arch/ppc/bits/fenv.h
new file mode 100644
index 00000000..edbdea2a
--- /dev/null
+++ b/arch/ppc/bits/fenv.h
@@ -0,0 +1,10 @@
+#define FE_ALL_EXCEPT 0
+#define FE_TONEAREST 0
+
+typedef unsigned long fexcept_t;
+
+typedef struct {
+ unsigned long __cw;
+} fenv_t;
+
+#define FE_DFL_ENV ((const fenv_t *) -1)