JDK 9 RFR of 4477961: java.lang.Math.toDegrees(double) could be optimized
brian.burkhalter at oracle.com
Mon Sep 22 21:55:26 UTC 2014
It’s definitely worth mentioning and something which should be taken into consideration when considering the change.
On Sep 22, 2014, at 2:48 PM, Mike Duigou <mike.duigou at oracle.com> wrote:
> I thought it was worth mentioning because I had had to deal with the underflow issue in the mapping software for the Audi/Stanford autonomous. For various reasons that system ends up with many very-tiny-but-non-zero quantities in it's mapping and heading component and I initially had trouble matching results against the Matlab implementation. Since I had to also reduce quantities to -π < x <= π and -180 < x <= 180 I combined the reduce and convert using an approach similar to this revised implementation.
More information about the core-libs-dev