-fix → integer
Negates fix (which might return a Bignum).
Source Code
/* * call-seq: * -fix => integer * * Negates <code>fix</code> (which might return a Bignum). */ static VALUE fix_uminus(num) VALUE num; { return LONG2NUM(-FIX2LONG(num)); }
-fix → integer
Negates fix (which might return a Bignum).
/* * call-seq: * -fix => integer * * Negates <code>fix</code> (which might return a Bignum). */ static VALUE fix_uminus(num) VALUE num; { return LONG2NUM(-FIX2LONG(num)); }
<code/>and<pre/>for code samples.