1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-11-17 16:09:32 -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 c66f36c77a
commit 768b9b0e8f
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.