SET_NAN_DOUBLE_BUG - (MACRO) Sets up call to set_bug
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
This macro sets up the call to set_bug when a problem can be described as
noting that what should be a valid double is NaN. In development code
(i.e. when TEST is defined), a generic message for this condition is passed to
the routine set_bug() together with the file and line number. In
non-development code, a more user oriented message is passed (depending on
the setting of the symbol REPORT_ALL_BUG_INFO). Note that the behaviour of
set_bug() itself is dependent on the bug_handler, and the behaviour default
bug handler is dependent on whether or not the code is development code.
It is advisable to expect SET_NAN_DOUBLE_BUG to return, even though
under many circumstances it will not. Normally the statement after
SET_NAN_DOUBLE_BUG is an error return or program exit.
set_bug, set_bug_handler, default_bug_handler
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.