Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 320 for udigits (0.19 sec)

  1. src/fmt/format.go

    				}
    				// Count significant digits after the first non-zero digit.
    				if sawNonzeroDigit {
    					digits--
    				}
    			}
    		}
    		if !hasDecimalPoint {
    			// Leading digit 0 should contribute once to digits.
    			if len(num) == 2 && num[1] == '0' {
    				digits--
    			}
    			num = append(num, '.')
    		}
    		for digits > 0 {
    			num = append(num, '0')
    			digits--
    		}
    		num = append(num, tail...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/fmt/print.go

    	case 'b':
    		p.fmt.fmtInteger(v, 2, isSigned, verb, ldigits)
    	case 'o', 'O':
    		p.fmt.fmtInteger(v, 8, isSigned, verb, ldigits)
    	case 'x':
    		p.fmt.fmtInteger(v, 16, isSigned, verb, ldigits)
    	case 'X':
    		p.fmt.fmtInteger(v, 16, isSigned, verb, udigits)
    	case 'c':
    		p.fmt.fmtC(v)
    	case 'q':
    		p.fmt.fmtQc(v)
    	case 'U':
    		p.fmt.fmtUnicode(v)
    	default:
    		p.badVerb(verb)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. src/math/big/natconv.go

    //	prefix    = "0" [ "b" | "B" | "o" | "O" | "x" | "X" ] .
    //	mantissa  = digits "." [ digits ] | digits | "." digits .
    //	pmantissa = [ "_" ] digits "." [ digits ] | [ "_" ] digits | "." digits .
    //	digits    = digit { [ "_" ] digit } .
    //	digit     = "0" ... "9" | "a" ... "z" | "A" ... "Z" .
    //
    // Unless fracOk is set, the base argument must be 0 or a value between
    // 2 and MaxBase. If fracOk is set, the base argument must be one of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  4. src/regexp/syntax/doc.go

    	\pF            Unicode character class F (one-letter name)
    
    Named character classes as character class elements:
    
    	[\d]           digits (== \d)
    	[^\d]          not digits (== \D)
    	[\D]           not digits (== \D)
    	[^\D]          not not digits (== \d)
    	[[:name:]]     named ASCII class inside character class (== [:name:])
    	[^[:name:]]    named ASCII class inside negated character class (== [:^name:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:21:02 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/math/big/natdiv.go

    The first step divides n digits by n digits to ensure that it produces only a
    single digit.
    
    Each subsequent step appends the next digit from u to the remainder and divides
    those n+1 digits by the n digits of v, producing another quotient digit and a
    new n-digit remainder.
    
    Subsequent steps divide n+1 digits by n digits, an operation that in general
    might produce two digits. However, as used in the algorithm, that division is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // ```
    // <quantity>        ::= <signedNumber><suffix>
    //
    // 	(Note that <suffix> may be empty, from the "" case in <decimalSI>.)
    //
    // <digit>           ::= 0 | 1 | ... | 9
    // <digits>          ::= <digit> | <digit><digits>
    // <number>          ::= <digits> | <digits>.<digits> | <digits>. | .<digits>
    // <sign>            ::= "+" | "-"
    // <signedNumber>    ::= <number> | <sign><number>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/math/big/floatconv.go

    //	prefix    = "0" [ "b" | "B" | "o" | "O" | "x" | "X" ] .
    //	mantissa  = digits "." [ digits ] | digits | "." digits .
    //	pmantissa = [ "_" ] digits "." [ digits ] | [ "_" ] digits | "." digits .
    //	exponent  = ( "e" | "E" | "p" | "P" ) [ sign ] digits .
    //	digits    = digit { [ "_" ] digit } .
    //	digit     = "0" ... "9" | "a" ... "z" | "A" ... "Z" .
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. src/strconv/itoa.go

    // as the second result value.
    func formatBits(dst []byte, u uint64, base int, neg, append_ bool) (d []byte, s string) {
    	if base < 2 || base > len(digits) {
    		panic("strconv: illegal AppendInt/FormatInt base")
    	}
    	// 2 <= base && base <= len(digits)
    
    	var a [64 + 1]byte // +1 for sign of 64bit value in base 2
    	i := len(a)
    
    	if neg {
    		u = -u
    	}
    
    	// convert bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/math/big/ratconv.go

    		return 0, 10, nil
    	}
    
    	// sign
    	var digits []byte
    	ch, err = r.ReadByte()
    	if err == nil && (ch == '+' || ch == '-') {
    		if ch == '-' {
    			digits = append(digits, '-')
    		}
    		ch, err = r.ReadByte()
    	}
    
    	// prev encodes the previously seen char: it is one
    	// of '_', '0' (a digit), or '.' (anything else). A
    	// valid separator '_' may only occur after a digit.
    	prev := '.'
    	invalSep := false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/strconv/ftoa.go

    			prec = digs.nd
    		}
    	} else if fmt != 'f' {
    		// Fixed number of digits.
    		digits := prec
    		switch fmt {
    		case 'e', 'E':
    			digits++
    		case 'g', 'G':
    			if prec == 0 {
    				prec = 1
    			}
    			digits = prec
    		default:
    			// Invalid mode.
    			digits = 1
    		}
    		var buf [24]byte
    		if bitSize == 32 && digits <= 9 {
    			digs.d = buf[:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top