Computes the multiplicative inverse of a double-precision floating-point number x.
x
1/x
input value
multiplicative inverse
var v = inv( -1.0 ); // returns -1.0
var v = inv( 2.0 ); // returns 0.5
var v = inv( 0.0 ); // returns Infinity
var v = inv( -0.0 ); // returns -Infinity
var v = inv( NaN ); // returns NaN
Computes the multiplicative inverse of a double-precision floating-point number
x
.Notes
1/x
.