repl.txt (547B)
1 2 {{alias}}( x ) 3 Computes the multiplicative inverse of a double-precision floating-point 4 number `x`. 5 6 The multiplicative inverse is defined as `1/x`. 7 8 Parameters 9 ---------- 10 x: number 11 Input value. 12 13 Returns 14 ------- 15 y: number 16 Multiplicative inverse. 17 18 Examples 19 -------- 20 > var y = {{alias}}( -1.0 ) 21 -1.0 22 > y = {{alias}}( 2.0 ) 23 0.5 24 > y = {{alias}}( 0.0 ) 25 Infinity 26 > y = {{alias}}( -0.0 ) 27 -Infinity 28 > y = {{alias}}( NaN ) 29 NaN 30 31 See Also 32 -------- 33