### Compilation failed: error: 5: index -2 out of range for 'float[2]' for(float d[2]=float[2](0,1);d[0]