Revision 1921 trunk/src/linad99/dveigen.cpp

dveigen.cpp (revision 1921)
155 155

  
156 156
  dvariable SIGN(const prevariable& x, const prevariable& y)
157 157
{
158
#if defined __SUN__ || defined(__GNU__)
159
  if(value(y) < 0)
160
#else
161
  if (y<0)
162
#endif
158
  if (value(y) < 0)
163 159
  {
164 160
    return -fabs(x);
165 161
  }

Also available in: Unified diff