|
||||
File indexing completed on 2025-01-30 10:26:00
0001 #ifndef VECGEOM_BASE_FpeEnable_H_ 0002 #define VECGEOM_BASE_FpeEnable_H_ 0003 0004 #if defined(__GNUC__) && !defined(__APPLE__) 0005 0006 #include <fenv.h> 0007 0008 static void __attribute__((constructor)) EnableFpeForTests() 0009 { 0010 // this function is not offered on APPLE MACOS 0011 feenableexcept(FE_INVALID | FE_DIVBYZERO); 0012 // feenableexcept(FE_ALL_EXCEPT & ~FE_INEXACT); 0013 } 0014 0015 #endif 0016 0017 // #ifdef __APPLE__ 0018 // #include <xmmintrin.h> 0019 // _MM_SET_EXCEPTION_MASK(_MM_GET_EXCEPTION_MASK() & ~_MM_MASK_INVALID); 0020 // #endif 0021 0022 #endif // VECGEOM_BASE_FpeEnable_H_
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |