This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// params: y0, y1, interleaved x, coeff, n | |
static EEL_F NSEEL_CGEN_CALL dotprod2(void *opaque, INT_PTR np, EEL_F **parms) { | |
EEL_F **blocks = (EEL_F **)opaque; | |
int xofs = *parms[2]; | |
int cofs = *parms[3]; | |
int n = *parms[4]; | |
*parms[0] = 0.0; | |
*parms[1] = 0.0; | |
if (unlikely(n <= 0 || xofs < 0 || cofs < 0 || |