>>394
y=calloc(2, sizeof(double));
じゃない?