Re: Re: [GENERAL] +/- Inf for float8's

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: Re: [GENERAL] +/- Inf for float8's
Date: 2000-08-15 16:53:26
Message-ID: 39997586.1D1B55B5@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> So, anyone have any ideas what NaN would be useful for? Especially given
> we have NULL available, which most (non DB) numeric applications don't.

Hmm. With Tom Lane's new fmgr interface, you *can* return NULL if you
spot a NaN result. Maybe that is the best way to go about it; we'll
stipulate that NaN and NULL are equivalent. And we'll further stipulate
that if you are messing with NaN then you deserve what you get ;)

- Thomas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2000-08-15 16:56:04 Re: Open Source Database Routs Competition in New Benchmark Tests
Previous Message Ross J. Reedstrom 2000-08-15 16:33:27 Re: Re: [GENERAL] +/- Inf for float8's