1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-23 07:15:19 +00:00

Add comments to all the pi-related stuff.

This commit is contained in:
2017-08-04 11:24:07 -07:00
parent af56d31723
commit da602876e7
4 changed files with 126 additions and 1 deletions

View File

@@ -306,6 +306,9 @@ public class StandardPlugin extends Plugin {
}
};
/**
* The implementation for double-based naive numbers.
*/
public static final NumberImplementation IMPLEMENTATION_NAIVE = new NumberImplementation(NaiveNumber.class, 0) {
@Override
public NumberInterface instanceForString(String string) {
@@ -318,6 +321,9 @@ public class StandardPlugin extends Plugin {
}
};
/**
* The implementation for the infinite-precision BigDecimal.
*/
public static final NumberImplementation IMPLEMENTATION_PRECISE = new NumberImplementation(PreciseNumber.class, 0) {
@Override
public NumberInterface instanceForString(String string) {