Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > It ERANGE's only on Inf, not underflow?  I would prefer:
> >     else if (errno == ERANGE && !isinf(result))
> No objection to that, just don't take out the ERANGE test altogether
> again ;-)

Actually, when you return ERANGE, what is 'result'?  Nan?  Inf?  finite?

  Bruce Momjian   [EMAIL PROTECTED]

  + If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?


Reply via email to