resic
resic
15 / 2
26th May
4th July
Three incrementors. Free to use even without credit!

Comments

  • resic
    resic
    29th May
    zyckser: I know you can use ldct but what's wrong with using dtec?
  • Jerehmia
    Jerehmia
    29th May
    I made a mistake, !-x is a decrementor and the formula should be -!x = x+1. (so !-x = x-1).
  • Jerehmia
    Jerehmia
    29th May
    Nice +1. mark2222's algorithm really is a fast 2's complement algorithm converted to an incrementor. 2's complement inverts the sign of a number and is equivalent to flipping all bits in a number and incrementing it. This means that if you flip all bits before you take the 2's complement you undo its bit flips and end up with just an incrementor (so !-x = x+1).
  • zyckser
    zyckser
    29th May
    dtec user detected, deploying anti dtec drone swarm
  • resic
    resic
    28th May
    FP? ok