Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!uwvax!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: 0.1 Message-ID: <14014@mimsy.UUCP> Date: 16 Oct 88 10:14:04 GMT References: <836@proxftl.UUCP> <3105@hubcap.UUCP> <1700@dataio.Data-IO.COM> <800@accelerator> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 27 >In article <13983@mimsy.UUCP> I suggested that >>If you want to get *really* ridiculous, 0.1 is irrational in irrational >>bases, but I am not sure those count :-) . In article <800@accelerator> rob@kaa.eng.ohio-state.edu (Rob Carriere) asks: >You lost me. How do you do a basis that is not a natural? Negative integer bases are easy: 111 base -2 = 1 (-2)^2 + 1 (-2)^1 + 1 (-2)^0 = 4 + -2 + 1 = 3 Positive or negative noninteger bases follow the same formula, but I must admit that inventing a notation for writing fractional digits is beyond me: 102 base pi = 1 pi^2 + 0 pi^1 + 1 pi^0 = pi^2 + 0 + 1 ~=~ 10.86960440108935861883449 I have no idea whether fractional and irrational bases are well-regarded in mathematical circles (mathematical circles are the ones that are *really* round, rather than the merely arbitrary polygonal CS circles :-) ). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris