IAP GITLAB

Skip to content
Snippets Groups Projects

Resolve "OSX doesn't support feenableexcept and fedisableexcept."

2 files
+ 13
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
0
@@ -169,7 +169,10 @@ namespace corsika::process {
using corsika::geometry::Point;
using namespace corsika::units::si;
// TODO: this should be done in a central, common place. Not here..
#ifndef CORSIKA_OSX
feenableexcept(FE_INVALID);
#endif
fCount++;
SibStack ss;
@@ -216,7 +219,10 @@ namespace corsika::process {
// empty sibyll stack
ss.Clear();
// TODO: this should be done in a central, common place. Not here..
#ifndef CORSIKA_OSX
fedisableexcept(FE_INVALID);
#endif
}
};
} // namespace sibyll
Loading