Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.256
 
1.257
 
MAIN:ragge:20100905102010
 
trees.c
_>244244         } else if (opty == BITYPE && (l->n_op == FCON || l->n_op == ICON) &&
 245245             (r->n_op == FCON || r->n_op == ICON) && (o == PLUS || o == MINUS ||
 246246             o == MUL || o == DIV || (o >= EQ && o <= GT) )) {
<> 247+                if (o == DIV &&
  248+                    ((r->n_op == ICON && r->n_lval == 0) ||
  249+                     (r->n_op == FCON && r->n_dcon == 0.0)))
  250+                                goto runtime; /* HW dependent */
247251                 if (l->n_op == ICON)
 248252                         l->n_dcon = FLOAT_CAST(l->n_lval, l->n_type);
 249253                 if (r->n_op == ICON)
     
 !
264268                                 l->n_dcon = FLOAT_MUL(l->n_dcon, r->n_dcon);
 265269                                 break;
 266270                         case DIV:
<>267 -                                if (FLOAT_ISZERO(r->n_dcon))
 268 -                                        goto runtime;
<_269271                                 l->n_dcon = FLOAT_DIV(l->n_dcon, r->n_dcon);
 270272                                 break;
 271273                         }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-11-01 09:27 +0100