Search Postgresql Archives

Re: Wider than float8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vincenzo Romano wrote:
> Hi all.
> On most modern CPUs there are numeric representations wider than 8-bytes
> (aka float8 in PGSQL).
> 
> For example, Intel/AMD CPUs have native 12-bytes floating point numbers (aka
> long double in C/C++).
> 
> I understand that it could not be non-standard from a clean SQL point of view.
> Nonetheless, is there any way to use those "long doubles" in SQL?

No.  Frankly I didn't know 12-byte floats were supported in CPUs until
you posted this.  You could write your own data type to use it, of
course.

-- 
  Bruce Momjian  <bruce@xxxxxxxxxx>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux