Lines Matching defs:FDBigInt

125     private static FDBigInt b5p[];
127 private static synchronized FDBigInt
131 b5p = new FDBigInt[ p+1 ];
133 FDBigInt t[] = new FDBigInt[ p+1 ];
140 return b5p[p] = new FDBigInt( small5pow[p] );
142 return b5p[p] = new FDBigInt( long5pow[p] );
153 FDBigInt bigq = b5p[q];
159 FDBigInt bigr = b5p[ r ];
170 private static FDBigInt
171 multPow52( FDBigInt v, int p5, int p2 ){
188 private static FDBigInt
190 FDBigInt v = new FDBigInt( big5pow( p5 ) );
198 * Make a floating double into a FDBigInt.
199 * This could also be structured as a FDBigInt
207 private FDBigInt
233 return new FDBigInt( lbits );
627 FDBigInt Sval, Bval, Mval;
643 * FDBigInt. The resulting whole number will be
687 * In these cases, we will avoid doing FDBigInt arithmetic.
810 FDBigInt tenSval;
814 * We really must do FDBigInt arithmetic.
815 * Fist, construct our FDBigInt initial values.
817 Bval = multPow52( new FDBigInt( fractBits ), B5, B2 );
1467 * with FDBigInt arithmetic.
1471 FDBigInt bigD0 = new FDBigInt( lValue, digits, kDigits, nDigits );
1479 FDBigInt bigB = doubleToBigInt( dValue );
1527 FDBigInt bigD = multPow52( new FDBigInt( bigD0 ), D5, D2 );
1542 FDBigInt diff;
1569 FDBigInt halfUlp = constructPow52( B5, Ulp2 );
2417 class FDBigInt {
2422 public FDBigInt( int v ){
2428 public FDBigInt( long v ){
2435 public FDBigInt( FDBigInt other ){
2440 private FDBigInt( int [] d, int n ){
2445 public FDBigInt( long seed, char digit[], int nd0, int nd ){
2577 * Multiply a FDBigInt by an int.
2578 * Result is a new FDBigInt.
2580 public FDBigInt
2595 return new FDBigInt( r, nWords );
2598 return new FDBigInt( r, nWords+1 );
2603 * Multiply a FDBigInt by an int and add another int.
2628 * Multiply a FDBigInt by another FDBigInt.
2629 * Result is a new FDBigInt.
2631 public FDBigInt
2632 mult( FDBigInt other ){
2653 return new FDBigInt( r, i+1 );
2657 * Add one FDBigInt to another. Return a FDBigInt
2659 public FDBigInt
2660 add( FDBigInt other ){
2692 return new FDBigInt( s, i );
2694 return new FDBigInt( r, i );
2698 * Subtract one FDBigInt from another. Return a FDBigInt
2701 public FDBigInt
2702 sub( FDBigInt other ){
2722 return new FDBigInt( r, n-nzeros );
2725 private static boolean dataInRangeIsZero(int i, int m, FDBigInt other) {
2733 * Compare FDBigInt with another FDBigInt. Return an integer
2739 cmp( FDBigInt other ){
2793 quoRemIteration( FDBigInt S )throws IllegalArgumentException {