Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for zsqr (0.02 sec)

  1. src/math/big/float.go

    	// and y which is often the case (e.g., if all floats
    	// have the same precision).
    	// TODO(gri) Optimize this for the common case.
    
    	e := int64(x.exp) + int64(y.exp)
    	if x == y {
    		z.mant = z.mant.sqr(x.mant)
    	} else {
    		z.mant = z.mant.mul(x.mant, y.mant)
    	}
    	z.setExpAndRound(e-fnorm(z.mant), 0)
    }
    
    // z = x / y, ignoring signs of x and y for the division
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  2. doc/go_spec.html

    expression:
    </p>
    
    <pre>
    var a, b, c = f() + v(), g(), sqr(u()) + v()
    
    func f() int        { return c }
    func g() int        { return a }
    func sqr(x int) int { return x*x }
    
    // functions u and v are independent of all other variables and functions
    </pre>
    
    <p>
    The function calls happen in the order
    <code>u()</code>, <code>sqr()</code>, <code>v()</code>,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top