Re: float conversion / presentation problem ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: weigelt(at)metux(dot)de
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: float conversion / presentation problem ?
Date: 2005-04-07 04:23:25
Message-ID: 13502.1112847805@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Enrico Weigelt <weigelt(at)metux(dot)de> writes:
> i've noticed an problem with conversion from real to float -
> this produces ugly values. (in fact it seems to be real->float8)

You do realize that float4/real is only good to six decimal places
on most platforms?

You can take the issue up with the glibc boys if you like, but
I think you'll get laughed off.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2005-04-07 04:40:26 Re: float conversion / presentation problem ?
Previous Message Preethi 2005-04-07 03:51:33 BUG #1586: Rollback of installation during a silent install with -qn option