Revision 1877 trunk/src/linad99/dvect10.cpp

dvect10.cpp (revision 1877)
45 45
const int MAX_FIELD_LENGTH = 500;
46 46
const int MAX_NUMBER_COLUMNS = 6550;
47 47
const int MAX_NUMBER_ROWS = 6550;
48
#if !defined(HUGE)
49
#define HUGE 1.e+100
50
#endif
51 48

  
52 49
/**
53 50
 * Description not yet available.
......
149 146
       ad_exit(1);
150 147
     }
151 148

  
152
     #ifdef __GNU__
153
       if (elem(i)== HUGE ||elem(i)== -HUGE)
154
     #else
155
       if (elem(i)== HUGE_VAL ||elem(i)== -HUGE_VAL)
156
     #endif
149
     if (elem(i)== HUGE_VAL ||elem(i)== -HUGE_VAL)
157 150
     {
158 151
       cerr << "Overflow Error decoding field "
159 152
           " in dvector::dvector(char * ) " << "\n";

Also available in: Unified diff