Search Postgresql Archives

Re: Extended unit

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

 



> Frank D. Engel, Jr. wrote [01/27/05 9:19 AM]:
> > On Jan 26, 2005, at 6:57 PM, PFC wrote:
> >
> >> Isn't there some free open source algebraic computation toolkit with
> >> equations and units somewhere ?

You mean like the traditional units program available on virtually all Unix
machines?

    $ units
    2084 units, 71 prefixes, 32 nonlinear units

    You have: 1 lightyear/fortnight
    You want: m/s
            * 7.8213711e+09
            / 1.2785482e-10

That's the program I suggested writing a function to hand this work off to
(presumably in the form of a dynamic library). Keep the postgres code agnostic
about the semantics of the units. As long as you stick to linear units then
Postgres can treat them as opaque strings.

-- 
greg


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

[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