Xref: utzoo comp.lang.c:15575 comp.std.c:697 Path: utzoo!attcan!uunet!lll-winken!ames!vsi1!daver!lynx!m5 From: m5@lynx.uucp (Mike McNally) Newsgroups: comp.lang.c,comp.std.c Subject: ANSI float.h Message-ID: <5186@lynx.UUCP> Date: 16 Jan 89 20:54:59 GMT Reply-To: m5@lynx.UUCP (Mike McNally) Distribution: na Organization: Lynx Real-Time Systems Inc, Campbell CA Lines: 22 The new K&R almost-ANSI book has a little section in the back that describes the contents (well, part of the contents, apparently) of . I am confused by some of the "minimum magnitude" values listed: FLT_EPSILON 1e-5 Isn't that kind of big? With IEEE single-precision, the actual value according to the definition should be something like 5.4e-8. FLT_MIN 1e-37 Does this mean that an ANSI-compliant compiler does not need to supply negative float values beyond a negative itsy-bitsy value? Does it make sense that coding x=-2.0 results in a non-portable program? I suppose I can live with FLT_EPSILON, but FLT_MIN bothers me. Shouldn't that be more like -1e37? -- Mike McNally Lynx Real-Time Systems uucp: {voder,athsys}!lynx!m5 phone: 408 370 2233 Where equal mind and contest equal, go.