> > Can some of you on Unix systems grep your /usr/include directories and > > see if you have QUAD_MAX defined, and if so, whether it's a floating > > point number or not? > > I can't find that define on Solaris 2.6, Solaris 7, IRIX 6.5, HP-UX 11.00, > or AIX 4.3.3. Looks like something peculiar to one implementation? Yeah, I guess it must be. Here's the relevant sequences in perl.h: # ifdef UQUAD_MAX # define PERL_UQUAD_MAX ((UV)UQUAD_MAX) # else # define PERL_UQUAD_MAX (~(UV)0) # endif # ifdef QUAD_MAX # define PERL_QUAD_MAX ((IV)QUAD_MAX) # else # define PERL_QUAD_MAX ((IV) (PERL_UQUAD_MAX >> 1)) # endif On IA64 HP-UX 11.00, UQUAD_MAX is undefined, but QUAD_MAX is (in float.h). On PA-RISC 11.00, both are undefined. Weird. JeffThread Previous