On Thu, 26 Apr 2007, Dan Christensen wrote: > Note also that double-precision reals are a subset of the rationals, > since each double precision real is exactly representable as a > rational number, but many rational numbers are not exactly > representable as double precision reals. Not sure if this means > that reals should be a subclass of the rationals.
Not quite all: the space of doubles include a small number of things that aren't representable by a rational (+/- inf, for instance). -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Spreadsheet through network. Oh yeah. _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
