Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /benchmarks/programs/lic2d/bmark-teem.c
ViewVC logotype

Diff of /benchmarks/programs/lic2d/bmark-teem.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1610, Fri Nov 4 14:31:56 2011 UTC revision 1611, Fri Nov 4 14:53:00 2011 UTC
# Line 283  Line 283 
283            sum = pow(mag2(temp), 0.3) * sum / num;            sum = pow(mag2(temp), 0.3) * sum / num;
284            crl = crl_at(V->data, pos0);            crl = crl_at(V->data, pos0);
285            s = lerp(0, 1, 0, (crl>0)?crl:-1*crl, 2.794);            s = lerp(0, 1, 0, (crl>0)?crl:-1*crl, 2.794);
286            l = lerp(0.0, 1.0, -2.583, sum, 2.583);            l = lerp(0.0, 1.0, -1.6, sum, 2.6);
287    
288            c = (1 - (((2 * l - 1)>0)?(2 * l - 1):(1 - 2 * l))) * s;            c = (1 - (((2 * l - 1)>0)?(2 * l - 1):(1 - 2 * l))) * s;
289            m = l - c / 2;            m = l - c / 2;

Legend:
Removed from v.1610  
changed lines
  Added in v.1611

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0