Re: float conversion / presentation problem ?

From: Enrico Weigelt <weigelt(at)metux(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: float conversion / presentation problem ?
Date: 2005-04-08 01:05:32
Message-ID: 20050408010532.GA18450@nibiru.borg.metux.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> 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?

Thats okay for me. I need only four.

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

cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service

phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact(at)metux(dot)de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Gabor Berenyi 2005-04-09 12:10:55 BUG #1592: "with hold" cursor problem
Previous Message Michael Williamson 2005-04-07 19:36:27 BUG #1591: BETWEEN NULL AND NULL causes crash