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

Comparing ray/src/cal/cal/denom.cal (file contents):
Revision 1.2 by greg, Thu Oct 26 21:58:40 2006 UTC vs.
Revision 1.3 by greg, Wed Nov 21 18:10:45 2018 UTC

# Line 1 | Line 1
1 + { RCSid $Id$ }
2 + { Use continued fraction calculation to derive rational number from real }
3 +
4   frac(x,e) : x - floor(x+e);
5   sq(x) : x * x;
6  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines