From: "Mark B. Withers" <mwithers@one.net> To: Christopher Farley <chris@northernbrewer.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: hexidecimal literacy Message-ID: <20010127024918.C32133@arrakis.desert-power.org> In-Reply-To: <20010127012952.B31323@northernbrewer.com>; from chris@northernbrewer.com on Sat, Jan 27, 2001 at 02:30:15AM -0500 References: <20010127022257.A32133@arrakis.desert-power.org> <20010127012952.B31323@northernbrewer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kewl! Thanks everyone for the help! I've studied it before but am quite rusty. Mark On Sat, Jan 27, 2001 at 02:30:15AM -0500, Christopher Farley wrote: > Mark B. Withers (mwithers@one.net) wrote: > > > I was wondering if someone could help me with understanding > > hexidecimal numbers used in FreeBSD? > > This reminds me of the Onion story "Microsoft Patents 1s, 0s"... > > > I can relate mentally to the concept that the numeral system is based > > on 16 instead of 10 like decimal numbers are. > > > > Is the prefix 0x always used? What does the 0x mean? > > The prefix 0x is always used to denote a hexidecimal number. The prefix > 0 is used to denote an octal (base-8) number. > > Why ask why? > > > Would the hexidecimal number 0xf mean 16? > > Actually, it's 15. 0x10 would be 16. > > -- > Christopher Farley > www.northernbrewer.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010127024918.C32133>