Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for V2 (0.12 sec)

  1. doc/go_spec.html

    with the precision of that type argument. For example, given the function:
    </p>
    
    <pre>
    func dotProduct[F ~float32|~float64](v1, v2 []F) F {
    	var s F
    	for i, x := range v1 {
    		y := v2[i]
    		s += x * y
    	}
    	return s
    }
    </pre>
    
    <p>
    the product <code>x * y</code> and the addition <code>s += x * y</code>
    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