7 #include "flower-debug.hh"
17 nulldev = new ofstream("/dev/null");
18 monitor = new Dstream(&cout,".dstreamrc");
29 want to do a stacktrace .
40 cerr << "Floating point exception .. \n"<< flush;
44 /// just to make sure print_rat is linked in
45 static void (*rat_printer)(Moment const&);
50 rat_printer = print_rat;
52 set_new_handler(&mynewhandler);
54 set_flower_debug(*monitor, check_debug);
56 signal(SIGFPE, float_handler);
59 bool check_debug=false;
65 set_flower_debug(*monitor, check_debug);