| 1635 | }; |
| 1636 | |
| 1637 | float rampf(int clog, int bits, float p1, float p2, int indexPos) { |
| 1638 | (bits); |
| 1639 | // (clog+ LOG_CL_BASE) starts from 2 to 4 |
| 1640 | return (float)p1 + rampLerpWeights[clog + LOG_CL_BASE][indexPos] * (p2 - p1); |
| 1641 | } |
| 1642 | |
| 1643 | int all_same_d(float d[][MAX_DIMENSION_BIG], int n, int dimension) { |
| 1644 | int i, j; |
no test coverage detected