"Frederick W. Reimer" <[EMAIL PROTECTED]> writes: > In general, it's recommended you don't check for exact equivalence when > doing calculations on real numbers and instead check for "almost exactness." Or use datatype NUMERIC, which behaves in a more intuitive way (at least for people who are accustomed to thinking in decimal). But yes, exact equality checks on float values are usually foolish. regards, tom lane
- [HACKERS] The 85/0.0085 mistery ? Jean-Christophe Pazzaglia
- RE: [HACKERS] The 85/0.0085 mistery ? Frederick W. Reimer
- Re: [HACKERS] The 85/0.0085 mistery ? Jean-Christophe Pazzaglia
- Re: [HACKERS] The 85/0.0085 mistery ? Tom Lane
- Re: [HACKERS] The 85/0.0085 mistery... Hannu Krosing
- Re: [HACKERS] The 85/0.0085 mis... Hannu Krosing
- Re: [HACKERS] The 85/0.0085 mis... Tom Lane