aboutsummaryrefslogtreecommitdiff
path: root/math/fenv.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-11 01:05:26 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-11 01:05:26 +0000
commit7ad6d73d6fb83394f97f93ce9472303117bdf020 (patch)
tree9cfc41b6f8fa75303b62d3ec59a298e7092ab85f /math/fenv.h
parent1fc6f81397fefb17827fcaf9ab0acd5c6d327dc9 (diff)
downloadglibc-7ad6d73d6fb83394f97f93ce9472303117bdf020.zip
glibc-7ad6d73d6fb83394f97f93ce9472303117bdf020.tar.gz
glibc-7ad6d73d6fb83394f97f93ce9472303117bdf020.tar.bz2
Update.
* math/fenv.h: Include bits/fenvinline.h if optimizing. * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to.. * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file. * sysdeps/generic/bits/fenv.h: New file. 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'math/fenv.h')
-rw-r--r--math/fenv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/math/fenv.h b/math/fenv.h
index 3542837..845b5e6 100644
--- a/math/fenv.h
+++ b/math/fenv.h
@@ -109,6 +109,12 @@ extern int fesetenv (__const fenv_t *__envp) __THROW;
according to saved exceptions. */
extern int feupdateenv (__const fenv_t *__envp) __THROW;
+
+/* Include optimization. */
+#ifdef __OPTIMIZE__
+# include <bits/fenvinline.h>
+#endif
+
__END_DECLS
#endif /* fenv.h */