News for hackers. Stuff that matters.
Re:Ask HN: What's the most creative 'useless' program you've... by gregalt on Wednesday October 23, 2024 @03:02AM (#41922565)
Here's my Mandelbrot set generator written in the table language Ada Lovelace wrote her 1843 program for Babbage's Analytical Engine: https://pairdebuggingwithlovelace.hashnode.dev/

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.