[Nagiosplug-devel] check_icmp min and max

Andreas Ericsson ae at op5.se
Wed Oct 29 12:59:05 CET 2008


Thomas Guyot-Sionnest wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 28/10/08 03:02 PM, Andreas Ericsson wrote:
>> rader at hep.wisc.edu wrote:
>>> Sure.  (I used MAXDOUBLE, da.)  Shall I ask a
>>> Physicist how far across the Universe that'd get us??
>>>
>> No need. It's about as far as Marvin walks in the hitchhiker trilogy ;-)
>>
>> Thanks for the resend.
> 
> Do you have commit access or shall I do it for you?
> 
> And out of curiosity, why not using DBL_MAX instead of defining a new value?
> 

DBL_MAX isn't always defined. Think broken header files here.
otoh, defining DBL_MAX to something suitably huge if it isn't
defined would get the best of both worlds.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Devel mailing list