Array indexing vs. pointers...

Tom Neff tneff at dasys1.UUCP
Fri Oct 14 03:39:42 AEST 1988


In article <10332 at s.ms.uky.edu>, aash at ms.uky.edu ( Aashi Deacon ) writes:
> According to theory, '.1' cannot be represented exactly as a floating
> point number because in base2 it is irrational.  ...

No, .1 is not *irrational* (nonrepeating) in any base.  '.1' cannot
be represented as a conventional finite binary bit set because its
binary representation has a *repeating* mantissa.
-- 
Tom Neff			UUCP: ...!cmcl2!phri!dasys1!tneff
	"None of your toys	CIS: 76556,2536	       MCI: TNEFF
	 will function..."	GEnie: TOMNEFF	       BIX: t.neff (no kidding)



More information about the Comp.lang.c mailing list