Home | History | Annotate | Download | only in math

Lines Matching defs:product

122    * Returns {@code n!}, that is, the product of the first {@code n} positive
147 long product = LongMath.factorials[startingNumber - 1];
149 int shift = Long.numberOfTrailingZeros(product);
150 product >>= shift;
153 int productBits = LongMath.log2(product, FLOOR) + 1;
171 // If it won't fit in a long, then we store off the intermediate product.
173 bignums.add(BigInteger.valueOf(product));
174 product = 1;
177 product *= normalizedNum;
178 productBits = LongMath.log2(product, FLOOR) + 1;
181 if (product > 1) {
182 bignums.add(BigInteger.valueOf(product));