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

Comparing ray/src/common/color.c (file contents):
Revision 2.7 by greg, Fri Jun 4 14:51:39 1993 UTC vs.
Revision 2.8 by greg, Sat Mar 26 13:44:38 1994 UTC

# Line 241 | Line 241 | double  r, g, b;
241                  return;
242          }
243  
244 <        d = frexp(d, &e) * 256.0 / d;
244 >        d = frexp(d, &e) * 255.9999 / d;
245  
246          clr[RED] = r * d;
247          clr[GRN] = g * d;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines