Adding Rational Types to the C Programming Language

One of the main problems with the C programming language as opposed to something like Python is that it doesn't provide any of the convenient amenities that more high-level languages provide in terms of abstract data types. Basically, you have to implement everything yourself. C provides integer types and floating point types, and that's basically … Continue reading Adding Rational Types to the C Programming Language

Factorial Overflow

Okay, this is gonna be kind of an off-the-cuff post here. I'm writing this because I just made a fascinating discovery that sheds some light on why the factorial function overflows so quickly when you use integers, as well as a simple way that you can determine just when the factorial function will overflow without … Continue reading Factorial Overflow