Quote:
Originally Posted by Joe Ross
Here's the result from the robot
Code:
double result;
double x[] = {179, 180, 181, 359, 721, -1, -179, -180, -359, -361, -721};
for (int i = 0; i < x.length; i++){
result = MathUtils.IEEEremainder(x[i],360.0);
System.out.println("x: " + x[i] + " rem y: 360 result: " + result);
}
|
Joe, is the MathUtils.IEEEremainder() method available in 2015 FRC Java, now that the runtime engine has changed? If so, does it produce the exact same results?