Searched refs:ROOT_TAB_SIZE (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/trace/
H A Dsiox.cpp68 static const int ROOT_TAB_SIZE = 16; member in namespace:org::siox
69 static float cbrt_table[ROOT_TAB_SIZE +1];
73 double y = cbrt_table[int(x*ROOT_TAB_SIZE )]; // assuming x \in [0, 1]
79 static float qn_table[ROOT_TAB_SIZE +1];
83 double y = qn_table[int(x*ROOT_TAB_SIZE )]; // assuming x \in [0, 1]
103 cbrt_table[0] = pow(float(1)/float(ROOT_TAB_SIZE*2), 0.3333);
104 qn_table[0] = pow(float(1)/float(ROOT_TAB_SIZE*2), 0.2);
105 for(int i = 1; i < ROOT_TAB_SIZE +1; i++)
107 cbrt_table[i] = pow(float(i)/float(ROOT_TAB_SIZE), 0.3333);
108 qn_table[i] = pow(float(i)/float(ROOT_TAB_SIZE), 0.
[all...]

Completed in 37 milliseconds