Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Astro1123 committed Nov 21, 2021
1 parent eecc892 commit 10d0c85
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions calc/Process.java
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,14 @@ public ArrayList<Double> graphequal(Calculator calc, String input1, double input
BigDecimal yd;
double x0 = input2;
double x1 = input3;
if (x0 == x1) {
x0 -= 1;
x1 += 1;
} else if (x0 > x1) {
double tmp = x0;
x0 = x1;
x1 = tmp;
}
int cnt = input4+1;
String str;
out.add((double)cnt);
Expand Down

0 comments on commit 10d0c85

Please sign in to comment.