//do iteration for (iter=0; iter= 4.0) { break; } tmp = mx*mx - my*my + mx0; my = 2 * mx * my + my0; mx = tmp; }