On Wednesday, November 20, 2002, 6:16:41 PM, you (mailto:[EMAIL PROTECTED]) wrote:
> On Monday, November 18, 2002, at 08:34 PM, Martin D Kealey wrote: >> On Tue, 2002-11-19 at 08:28, Michael Lazzaro wrote: >>> - floating point becomes allowed in explicit radix (and 0b,0c,0x) >> >> How can one have floating point if "E" is a valid digit? >> >> 0x1.0e1 # 1.054931640625 or 16 ? > Oops, sorry. I meant radix-point-but-not-exponential. It still seems > exponential notation in bases other than 10 is not possible, because of > "e". We could adopt the C99 version and use "p" or "P" for hex decimal values (this, reportedly, allows certain values not expressible in decimal for floats to be specified). Thus 0x.4Ap10 0xA.BCDp-15 (The exponent cannot be in hex in C99). However this clearly cannot generalise for all bases <= 36... -- Richard mailto:[EMAIL PROTECTED]