Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What's the most creative 'useless' program you've ever written?.
The trickiest part was figuring out how to exploit fixed-point underflow to do the equivalent of if(a>4.0) when the only conditional I could use was if(a==0), using arithmetic operations to force underflow for all a>4.0
There are no comments on this comment yet.
The trickiest part was figuring out how to exploit fixed-point underflow to do the equivalent of if(a>4.0) when the only conditional I could use was if(a==0), using arithmetic operations to force underflow for all a>4.0