public float[] getX(float[] result, float y) {
		double delta = b * b - 4 * a * c;
		if (delta < 0) {
			return null;
		} else {
			float x1 = (-b + (float) Math.sqrt(delta)) * 0.5f / a;
			float x2 = (-b - (float) Math.sqrt(delta)) * 0.5f / a;
			if (result == null) {
				result = new float[2];
			}
			result[0] = x1;
			result[1] = x2;
			return result;
		}
	}