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.4 by greg, Wed Mar 22 09:53:46 1989 UTC

# 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