fixed visibility of an internal constructor that should remain private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@995990 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
074985ec2a
commit
742f3cd33e
|
@ -185,7 +185,7 @@ public class DfpField implements Field<Dfp> {
|
||||||
* @param computeConstants if true, the transcendental constants for the given precision
|
* @param computeConstants if true, the transcendental constants for the given precision
|
||||||
* must be computed (setting this flag to false is RESERVED for the internal recursive call)
|
* must be computed (setting this flag to false is RESERVED for the internal recursive call)
|
||||||
*/
|
*/
|
||||||
public DfpField(final int decimalDigits, final boolean computeConstants) {
|
private DfpField(final int decimalDigits, final boolean computeConstants) {
|
||||||
|
|
||||||
this.radixDigits = (decimalDigits < 13) ? 4 : (decimalDigits + 3) / 4;
|
this.radixDigits = (decimalDigits < 13) ? 4 : (decimalDigits + 3) / 4;
|
||||||
this.rMode = RoundingMode.ROUND_HALF_EVEN;
|
this.rMode = RoundingMode.ROUND_HALF_EVEN;
|
||||||
|
|
Loading…
Reference in New Issue