]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - ALIROOT/fpu.c
Stand-alone library for ESD. Possibility to use only root and lidESD.so for analysis...
[u/mrichter/AliRoot.git] / ALIROOT / fpu.c
... / ...
CommitLineData
1#ifdef __linux
2#if defined (__ia64) || defined (__x86_64)
3#else
4#include <fpu_control.h>
5void __attribute__ ((constructor))
6 trapfpe () {
7 fpu_control_t cw = _FPU_DEFAULT & ~(_FPU_MASK_IM | _FPU_MASK_ZM |
8 _FPU_MASK_OM);
9 _FPU_SETCW(cw);
10}
11#endif
12#else
13void trapfpe () {}
14#endif