torimus (Torimus GL)
- Login: torimus
- Email: torimus.gl@gmail.com
- Registered on: 05/15/2013
- Last sign in: 07/29/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
07/28/2013
-
05:39 PM Ruby Bug #8697: Fixnum complement operator issue
- =begin
As you've admitted, ~ operator implementation does more than ((*just flipping of it's each bit*)). It also does an additional step when converting to two's complement by doing bitwise or with number 1 ((({return ~num | FIXNUM_FLA... -
04:02 AM Ruby Bug #8697: Fixnum complement operator issue
- =begin
When one's complement is applied to zero, the result is ((*not*)) -1 but so called "negative zero", ie. -0.
What you are talking about is two's complement, ie. "the value of 1 is then added to the resulting value of bitwise not op...
07/27/2013
-
08:23 PM Ruby Bug #8697 (Rejected): Fixnum complement operator issue
- =begin
By the ((<documentation|URL:http://www.ruby-doc.org/core-2.0/Fixnum.html#method-i-7E>)), bitwise complement operator ((*~*)) to Fixnum instance should do ((*one's complement*)) with just flipping all bits. In fact, current implem...