Exponantial Function (exp) with bigger argument ? - Mailing list pgsql-novice

From Gregor GT. Trefs
Subject Exponantial Function (exp) with bigger argument ?
Date
Msg-id 5987F6572432A3439988CDF27C6239A6F18A90073D@winserver.delphit.com
Whole thread Raw
Responses Re: Exponantial Function (exp) with bigger argument ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice

Hi,

 

Is there any possibility to overcome the restriction to not use a higher number than appr. 100 as an argument for the exponential function in postgres ? Currently, I try to shift a data related part of our business logic into the database to save some computation time.  Unfortunately, this involves the exponential function with arguments which become bigger than 100. I had a look on the pgmp extension, but it seems it does not provide any exponential function. In our ruby project we are using the mpc and mpfr modules which are linked to the corresponding c-libraries. Would be recompilation of Postgres with mpc/mpfr work ? If yes, how would I do this ? Is there any ready-to-use extension which enables me to use the provided types of mpc and mpfr ?  If yes, where can I find them ? Is there any other solution to my problem, which I did not thought of ?

 

I’m looking forward to your answers,

 

Regards,

 

Gregor

pgsql-novice by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [ADMIN] Can we Flush the Postgres Shared Memory ?
Next
From: Sébastien D'Errico
Date:
Subject: Re: create a database with encoding LATIN1