Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.377 kb
export uniform int width() { return programCount; }
export void f_f(uniform float RET[], uniform float aFOO[]) {
double a = (1<< (programIndex % 28)) * 1.5;
if (programIndex & 1)
a = -a;
int exponent;
frexp(a, &exponent);
RET[programIndex] = exponent;
}
export void result(uniform float RET[]) {
RET[programIndex] = 1+(programIndex % 28);
}
Jump to Line
Something went wrong with that request. Please try again.