Pythagoras? Easy Peasy!

Last time I promised a blog about Pythagoras. That was a long time ago because I kept getting distracted by writing Pluralsight courses and – well – basically things that – unlike this blog – actually earn me money! But I really should honour my promises so… Continue reading “Pythagoras? Easy Peasy!”

Zero Equals What???

Last time I asked you what the output would be from this code….

		double zero = 0;
		double minus = -1.0e-400;
		double big = 1.0 / zero;
		double minusBig = 1.0 / minus;

		Console.WriteLine(zero == minus);
		Console.WriteLine(big == minusBig);
catch (Exception ex)

Continue reading “Zero Equals What???”