Ignore:
Timestamp:
2020-06-14T14:55:26+02:00 (4 years ago)
Author:
simon04
Message:

see #19334 - https://errorprone.info/bugpattern/FloatingPointLiteralPrecision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/proj/CassiniSoldner.java

    r13632 r16627  
    4141     * case of the Cassini-Soldner.
    4242     */
    43     private static final double C1 = 0.16666666666666666666;
    44     private static final double C2 = 0.008333333333333333333;
    45     private static final double C3 = 0.041666666666666666666;
    46     private static final double C4 = 0.33333333333333333333;
    47     private static final double C5 = 0.066666666666666666666;
     43    private static final double C1 = 1. / 6;
     44    private static final double C2 = 1. / 120;
     45    private static final double C3 = 1. / 24;
     46    private static final double C4 = 1. / 3;
     47    private static final double C5 = 1. / 15;
    4848
    4949    @Override
Note: See TracChangeset for help on using the changeset viewer.