IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 3deda857 authored by ralfulrich's avatar ralfulrich
Browse files

added and tested COAST interface

parent aae0786d
No related branches found
No related tags found
No related merge requests found
......@@ -11,19 +11,14 @@
#include <corsika/utl/CorsikaFenv.h>
#include <cmath>
#include <iostream>
#include <csignal>
#include <iostream>
extern "C" {
static void
handle_fpe(int /*signo*/ ) {
exit(0);
}
static void handle_fpe(int /*signo*/) { exit(0); }
}
int
main() {
int main() {
feenableexcept(FE_ALL_EXCEPT);
signal(SIGFPE, handle_fpe);
......
......@@ -16,9 +16,7 @@
#include <cfenv>
int
main()
{
int main() {
feenableexcept(FE_ALL_EXCEPT);
return 0;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment