Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for v1 (0.01 seconds)

  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>
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top