u/jhaluska - Archived Voat Post in v/programming
u/jhaluska
  • home
  • search

u/jhaluska

0 posts · 1 comment · 1 total

Active in: v/programming (1)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Divide a number by 3 without using *, /, +, -, % operators

There are some architectures that don't have a hardware divide, but this seems silly. You could build up all the operators out of boolean logic if you really wanted to.

1 09 Dec 2016 13:31 u/jhaluska in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.