Lines Matching defs:number

27 // Adjusts the last digit of the generated number, and screens out generated
40 // representable number to the input.
54 // Basically the buffer currently contains a number in the unsafe interval
88 // and v (the input number). They are guaranteed to be precise up to one unit.
95 // If the number inside the buffer lies inside the unsafe interval but not
111 // 3) decrementing the buffer would yield a number below w_high and farther
112 // away than the current number. In other words:
163 // a unit of 50 means that the real number lies within rest +/- 50. If
204 // number. We furthermore receive the maximum number of bits 'number' has.
206 // The number of bits must be <= 32.
207 // Precondition: number < (1 << (number_bits + 1)).
208 static void BiggestPowerTen(uint32_t number, int number_bits, uint32_t* power,
214 if (kTen9 <= number) {
223 if (kTen8 <= number) {
232 if (kTen7 <= number) {
242 if (kTen6 <= number) {
251 if (kTen5 <= number) {
260 if (kTen4 <= number) {
270 if (1000 <= number) {
279 if (100 <= number) {
288 if (10 <= number) {
297 if (1 <= number) {
315 // Generates the digits of input number w.
316 // w is a floating-point number (DiyFp), consisting of a significand and an
331 // * buffer is not null-terminated, but len contains the number of digits.
335 // * if more than one decimal representation gives the minimal number of
377 // generated number in.
379 // We now cut the input number into two parts: the integral digits and the
414 // Rounding down (by not emitting the remaining digits) yields a number
449 // Generates (at most) requested_digits of input number w.
450 // w is a floating-point number (DiyFp), consisting of a significand and an
464 // * buffer is not null-terminated, but length contains the number of
485 // We cut the input number into two parts: the integral digits and the
566 // closest floating-point neighbors. Any number strictly between
619 // number of digits. This version does not generate the shortest representation,
654 // limited number of digits.)