Lines Matching defs:number

50     // Adjusts the last digit of the generated number, and screens out generated
63 // representable number to the input.
81 // Basically the buffer currently contains a number in the unsafe interval
115 // and v (the input number). They are guaranteed to be precise up to one unit.
122 // If the number inside the buffer lies inside the unsafe interval but not
138 // 3) decrementing the buffer would yield a number below w_high and farther
139 // away than the current number. In other words:
196 // a unit of 50 means that the real number lies within rest +/- 50. If
238 // number. We furthermore receive the maximum number of bits 'number' has.
240 // The number of bits must be <= 32.
241 // Precondition: number < (1 << (number_bits + 1)).
242 static void BiggestPowerTen(uint32_t number,
246 ASSERT(number < (uint32_t)(1 << (number_bits + 1)));
252 if (kTen9 <= number) {
260 if (kTen8 <= number) {
268 if (kTen7 <= number) {
277 if (kTen6 <= number) {
285 if (kTen5 <= number) {
293 if (kTen4 <= number) {
302 if (1000 <= number) {
310 if (100 <= number) {
318 if (10 <= number) {
326 if (1 <= number) {
344 // Generates the digits of input number w.
345 // w is a floating-point number (DiyFp), consisting of a significand and an
360 // * buffer is not null-terminated, but len contains the number of digits.
364 // * if more than one decimal representation gives the minimal number of
410 // generated number in.
412 // We now cut the input number into two parts: the integral digits and the
447 // Rounding down (by not emitting the remaining digits) yields a number
484 // Generates (at most) requested_digits digits of input number w.
485 // w is a floating-point number (DiyFp), consisting of a significand and an
499 // * buffer is not null-terminated, but length contains the number of
523 // We cut the input number into two parts: the integral digits and the
607 // closest floating-point neighbors. Any number strictly between
662 // number of digits. This version does not generate the shortest representation,
701 // limited number of digits.)