From: serialhex Date: 2010-12-24T12:45:33+09:00 Subject: Numeric comparison with nil - Math masochists only!! --90e6ba6139d471391904981fd17d Content-Type: text/plain; charset=ISO-8859-1 Alright, i'm trying to do three things at once, and I'm almost succeeding. The first thing is learn Ruby, the second thing is learn Surreal Numbers, and the third is to make a Ruby class for Surreal numbers. :P My problem is this: part of the definition of a surreal number is pretty much a comparison with nil. So how would one go about this? Should I write a <=> and mixin Comparable? What else should I include to make this easier?? Any help & suggestions are most welcome!! And for those of you who are interested and want more info on surreal numbers, here are some links... http://en.wikipedia.org/wiki/Surreal_number http://www.tondering.dk/claus/surreal.html http://scienceblogs.com/goodmath/goodmath/numbers/surreal_numbers/ http://www.dm.unipi.it/~fornasiero/phd_thesis/thesis_fornasiero_linearized.pdf thats all of my links to surreal numbers... it kinda sucks that my biggest hurdle is at the very beggining!! :P thanks again! -hex --90e6ba6139d471391904981fd17d--