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

Comments

  • resic
    resic
    29th May 2024
    zyckser: I know you can use ldct but what's wrong with using dtec?
  • Jerehmia
    Jerehmia
    29th May 2024
    I made a mistake, !-x is a decrementor and the formula should be -!x = x+1. (so !-x = x-1).
  • Jerehmia
    Jerehmia
    29th May 2024
    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 2024
    dtec user detected, deploying anti dtec drone swarm
  • resic
    resic
    28th May 2024
    FP? ok