Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rebawl (1.3 sec)

  1. doc/go_spec.html

    The built-in function <code>complex</code> constructs a complex
    value from a floating-point real and imaginary part, while
    <code>real</code> and <code>imag</code>
    extract the real and imaginary parts of a complex value.
    </p>
    
    <pre class="grammar">
    complex(realPart, imaginaryPart floatT) complexT
    real(complexT) floatT
    imag(complexT) floatT
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			case 8:
    				return s.constFloat64(n.Type(), f)
    			default:
    				s.Fatalf("bad float size %d", n.Type().Size())
    				return nil
    			}
    		case constant.Complex:
    			re, _ := constant.Float64Val(constant.Real(u))
    			im, _ := constant.Float64Val(constant.Imag(u))
    			switch n.Type().Size() {
    			case 8:
    				pt := types.Types[types.TFLOAT32]
    				return s.newValue2(ssa.OpComplexMake, n.Type(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top