Re: [HACKERS] Warning!! - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Warning!!
Date
Msg-id 199811041357.IAA09511@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Warning!!  (A James Lewis <james@vrtx.net>)
Responses Re: [HACKERS] Warning!!  (A James Lewis <james@vrtx.net>)
List pgsql-hackers
> 
> 
> I'm very new to this list, and I have to first say that 6.4beta5 fixes
> every problem I had encountered with 6.3.2 (A small list..) A bug I didn't
> encounter isn't a bug for me...
> 
> BUT...
> 
> Just now I saw and posted this...
> 
> testdb=> select cash_mul_flt8('$1', '123.74');
> cash_mul_flt8
> -------------
> $123.73      
> (1 row)
> 
> If the pence is 0-4 it rounds down... surely that's a rounding bug because
> it should be looking at the next significant figure?
> 
> It's really small, and insignificant but I guess I should tell somone...
> 

Works here on BSD/OS 4.0.  Looks like an OS bug, perhaps.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Warning!!
Next
From: A James Lewis
Date:
Subject: Re: [HACKERS] Warning!!