ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/calexpr.c
(Generate patch)

Comparing ray/src/common/calexpr.c (file contents):
Revision 2.25 by schorsch, Mon Jul 21 22:30:17 2003 UTC vs.
Revision 2.26 by schorsch, Sun Jul 27 22:12:01 2003 UTC

# Line 128 | Line 128 | register EPNODE  *ep1, *ep2;
128                  if (ep2->v.num == 0)
129                          return(ep1->v.num != 0);
130                  d = ep1->v.num / ep2->v.num;
131 <                return(d > 1.000000000001 | d < 0.999999999999);
131 >                return((d > 1.000000000001) | (d < 0.999999999999));
132  
133          case CHAN:
134          case ARG:
# Line 527 | Line 527 | getnum()                       /* scan a positive float */
527              lnext = scan();
528          }
529      }
530 <    if ((lnext == 'e' | lnext == 'E') && i < RMAXWORD) {
530 >    if ((lnext == 'e') | (lnext == 'E') && i < RMAXWORD) {
531          str[i++] = lnext;
532          lnext = scan();
533 <        if ((lnext == '-' | lnext == '+') && i < RMAXWORD) {
533 >        if ((lnext == '-') | (lnext == '+') && i < RMAXWORD) {
534              str[i++] = lnext;
535              lnext = scan();
536          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines