1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-04 15:32:59 -08:00

Remove precision specification as it seems detrimental.

This commit is contained in:
Danila Fedorin 2017-07-28 22:51:59 -07:00
parent 1160768ee5
commit 9454620489
2 changed files with 0 additions and 13 deletions

View File

@ -6,10 +6,6 @@ package org.nwapw.abacus.config;
*/
public class Configuration {
/**
* The precision to which the calculator should operator.
*/
public int decimalPrecision;
/**
* The type of number this calculator should use.
*/

View File

@ -39,19 +39,10 @@ public class ConfigurationObject {
*/
private Configuration getDefaultConfig(){
configuration = new Configuration();
configuration.decimalPrecision = -1;
configuration.numberType = "naive";
return configuration;
}
/**
* Returns the configured, user-requested precision.
* @return the precision.
*/
public int getPrecision(){
return configuration.decimalPrecision;
}
/**
* Returns the implementation the user has requested to
* represent their numbers.