diff options
author | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
---|---|---|
committer | Denis Bitouzé <dbitouze@wanadoo.fr> | 2021-02-25 18:23:07 +0000 |
commit | c6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch) | |
tree | 1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/utils/asymptote/fpu.h | |
parent | 07ee7222e389b0777456b427a55c22d0e6ffd267 (diff) |
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/fpu.h')
-rw-r--r-- | Build/source/utils/asymptote/fpu.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Build/source/utils/asymptote/fpu.h b/Build/source/utils/asymptote/fpu.h deleted file mode 100644 index 7ca8df0c344..00000000000 --- a/Build/source/utils/asymptote/fpu.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef FPU_H -#define FPU_H - -#ifdef __GNU_VISIBLE -#undef __GNU_VISIBLE -#define __GNU_VISIBLE 1 -#endif - -#include "common.h" - -#ifdef HAVE_FEENABLEEXCEPT -#include <fenv.h> - -inline int fpu_exceptions() { - int excepts=0; -#ifdef FE_INVALID - excepts |= FE_INVALID; -#endif -#ifdef FE_DIVBYZERO - excepts |= FE_DIVBYZERO; -#endif -#ifdef FE_OVERFLOW - excepts |= FE_OVERFLOW; -#endif - return excepts; -} - -inline void fpu_trap(bool trap=true) -{ - // Conditionally trap FPU exceptions on NaN, zero divide and overflow. - if(trap) feenableexcept(fpu_exceptions()); - else fedisableexcept(fpu_exceptions()); -} - -#else - -inline void fpu_trap(bool=true) {} - -#endif - -#endif |