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

Comparing ray/src/common/readoct.c (file contents):
Revision 1.3 by greg, Tue Mar 21 15:54:45 1989 UTC vs.
Revision 1.5 by greg, Sun Apr 23 19:38:51 1989 UTC

# Line 59 | Line 59 | char  *ofn[];
59                  getheader(infp, NULL);
60                                          /* check format */
61          if (getint(2) != OCTMAGIC)
62 <                octerror(USER, "bad octree");
62 >                octerror(USER, "invalid octree format");
63                                          /* get boundaries */
64          if (load & IO_BOUNDS) {
65                  for (i = 0; i < 3; i++)
# Line 159 | Line 159 | getflt()                       /* get a floating point number */
159          double  d;
160  
161          d = (double)getint(4)/0x7fffffff;
162 <        return(ldexp(d, getint(1)));    /* sign extend */
162 >        return(ldexp(d, getint(1)));
163   }
164          
165  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines