/usr/share/radiance/denom.cal is in radiance-materials 4R1+20120125-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | frac(x,e) : x - floor(x+e);
sq(x) : x * x;
denom(x,e) : if( e-frac(x,e), 1, if( e-frac(1/x,e), floor(1/x+e),
denom(frac(1/frac(1/x,e),e),e/sq(x*frac(1/x,e))) +
floor(1/x+e)*denom(frac(1/x,e),e/sq(x)) ) );
|