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@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +