Re: [HACKERS] Warning!!

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: james@vrtx.net (A James Lewis)
Cc: scrappy@hub.org, darcy@druid.net, pgsql-hackers@postgreSQL.org
Date: 1998-11-04T13:57:57Z
Lists: 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, Pennsylvania 19026