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 Otherwise UB if hi == INT_MAX and lo == INT_MIN

@EricLengyel Otherwise UB if hi == INT_MAX and lo == INT_MIN

Properties5
typearchive
sourcetwitter
date2017-05-26
tagsarchive, twitter, ericlengyel
description@EricLengyel Otherwise UB if hi == INT_MAX and lo == INT_MIN

May 26, 20171 min read

  • archive
  • twitter
  • ericlengyel

Source

  • URL: https://x.com/vaughncato/status/868087562287579137
  • Author: Vaughn Cato (@vaughncato)
  • Posted: 2017-05-26 12:52:57

Branch

1/ @vaughncato

@EricLengyel

Otherwise UB if hi INT_MAX and lo INT_MIN

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