repl.txt (746B)
1 2 {{alias}}( x ) 3 Returns an approximate square root of an unsigned 32-bit integer `x`. 4 5 Prefer hardware `sqrt` over a software implementation. 6 7 When using a software `sqrt`, this function provides a performance boost 8 when an application requires only approximate computations for integer 9 arguments. 10 11 For applications requiring high-precision, this function is never suitable. 12 13 Parameters 14 ---------- 15 x: uinteger 16 Input value. 17 18 Returns 19 ------- 20 out: uinteger 21 Integer square root. 22 23 Examples 24 -------- 25 > var v = {{alias}}( 9 >>> 0 ) 26 3 27 > v = {{alias}}( 2 >>> 0 ) 28 1 29 > v = {{alias}}( 3 >>> 0 ) 30 1 31 > v = {{alias}}( 0 >>> 0 ) 32 0 33 34 See Also 35 -------- 36