Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for scalar (0.15 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre>
    func (p *Point) Length() float64 {
    	return math.Sqrt(p.x * p.x + p.y * p.y)
    }
    
    func (p *Point) Scale(factor float64) {
    	p.x *= factor
    	p.y *= factor
    }
    </pre>
    
    <p>
    bind the methods <code>Length</code> and <code>Scale</code>,
    with receiver type <code>*Point</code>,
    to the base type <code>Point</code>.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/asm.html

    to a <code>NOP</code> instruction).
    </p>
    
    <p>
    Addressing modes:
    </p>
    
    <ul>
    
    <li>
    <code>(R5)(R6*1)</code>: The location at <code>R5</code> plus <code>R6</code>.
    It is a scaled mode as on the x86, but the only scale allowed is <code>1</code>.
    </li>
    
    </ul>
    
    <h3 id="mips">MIPS, MIPS64</h3>
    
    <p>
    General purpose registers are named <code>R0</code> through <code>R31</code>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <pre>
    func (p *Point) Length() float64 {
    	return math.Sqrt(p.x * p.x + p.y * p.y)
    }
    
    func (p *Point) Scale(factor float64) {
    	p.x *= factor
    	p.y *= factor
    }
    </pre>
    
    <p>
    bind the methods <code>Length</code> and <code>Scale</code>,
    with receiver type <code>*Point</code>,
    to the base type <code>Point</code>.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top