Threadwell

Recent Notes

  • DemetriSpanos

    Oct 06, 2026

    • archive
    • twitter
    • demetrispanos
  • NOTimothyLottes

    Oct 06, 2026

    • archive
    • twitter
    • notimothylottes
  • bonzajplc

    Oct 06, 2026

    • archive
    • twitter
    • bonzajplc
Home

❯

Archive

❯

Threads

❯

EricLengyel

❯

Needs repeating: You can always perform a signed integer range test with a single comparison.

❯

@EricLengyel @Atrix256 One of my favs.

@EricLengyel @Atrix256 One of my favs.

Properties5
typearchive
sourcetwitter
date2017-05-27
tagsarchive, twitter, ericlengyel
description@EricLengyel @Atrix256 One of my favs.

May 27, 20171 min read

  • archive
  • twitter
  • ericlengyel

Source

  • URL: https://x.com/sreekotay/status/868268000499167232
  • Author: sree kotay (@sreekotay)
  • Posted: 2017-05-27 00:49:57

Branch

1/ @sreekotay

@EricLengyel @Atrix256

One of my favs. And special cases possible for testing power of 2 ranges (just a mask, no subtracts)… :)

Related

  • Spine: 2017-05-26-needs-repeating-you-can-always-perform-a-signed

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • Needs repeating: You can always perform a signed integer range test with a single comparison.

Created with Quartz v5.0.0 © 2026

  • GitHub