Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for floatRegs (0.1 sec)

  1. src/cmd/compile/internal/types/type.go

    	t.extra = underlying.extra
    	t.width = underlying.width
    	t.align = underlying.align
    	t.alg = underlying.alg
    	t.ptrBytes = underlying.ptrBytes
    	t.intRegs = underlying.intRegs
    	t.floatRegs = underlying.floatRegs
    	t.underlying = underlying.underlying
    
    	if underlying.NotInHeap() {
    		t.SetNotInHeap(true)
    	}
    	if underlying.HasShape() {
    		t.SetHasShape(true)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/fmt/fmt_test.go

    	{"% d", []byte{1, 11, 111}, "[ 1  11  111]"},
    	{"%+d", [3]byte{1, 11, 111}, "[+1 +11 +111]"},
    	{"%# -6d", []byte{1, 11, 111}, "[ 1      11     111  ]"},
    	{"%#+-6d", [3]byte{1, 11, 111}, "[+1     +11    +111  ]"},
    
    	// floates with %v
    	{"%v", 1.2345678, "1.2345678"},
    	{"%v", float32(1.2345678), "1.2345678"},
    
    	// complexes with %v
    	{"%v", 1 + 2i, "(1+2i)"},
    	{"%v", complex64(1 + 2i), "(1+2i)"},
    
    	// structs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
Back to top