4477961: java.lang.Math.toDegrees(double) could be optimized

Change toDegrees() and toRadians() to multiplication by a compile-time constant.

Reviewed-by: mduigou, shade
2 files changed