Tag Smalltalk
-
representing rational numbers in Smalltalk · Feb 7, 2010
For my graduate-level programming languages class, I wrote this class that represents a rational number in Smalltalk. I figured I would share my source code with the interwebs for anyone else trying to learn the language. I release the code under the GNU General Public License v3.