You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (JIRA)" <ji...@apache.org> on 2013/10/24 10:39:03 UTC

[jira] [Resolved] (SIS-141) MathFunctions.fractionDigitsForDelta(…) ignores the 'strict' argument

     [ https://issues.apache.org/jira/browse/SIS-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Desruisseaux resolved SIS-141.
-------------------------------------

    Resolution: Fixed

> MathFunctions.fractionDigitsForDelta(…) ignores the 'strict' argument
> ---------------------------------------------------------------------
>
>                 Key: SIS-141
>                 URL: https://issues.apache.org/jira/browse/SIS-141
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 0.3
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>             Fix For: 0.4
>
>
> The {{MathFunctions.fractionDigitsForDelta(double, boolean)}} static method ignores the {{strict}} boolean argument. The method behaves as if the {{strict}} argument was always {{true}}. This is because the {{if (strict) \{…\}}} statement was forgotten near the method end.
> The consequence is that {{fractionDigitsForDelta(…, false)}} sometime returns a value higher than expected, which affect some internal calculation done by {{AngleFormat}}.



--
This message was sent by Atlassian JIRA
(v6.1#6144)