[Top][All Lists]

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

Re: [Help-gsl] long double gsl_sf_exp()

From: Daniel J Farrell
Subject: Re: [Help-gsl] long double gsl_sf_exp()
Date: Sat, 14 Jan 2006 18:53:10 +0000

Hi everybody,

Thanks for that. Unfortunately I'm programming on a mac which treats long double differently that other platforms. The way long double is defined gives more precision to the floating point number (more meaningful significant figures) but very little in the way of extending the range of numbers available.

I have found gmp ( which should allow me to calculate the number I want.

Kind regards all.


On 14 Jan 2006, at 17:44, Brian Gough wrote:

Daniel J Farrell writes:
Is it possible to use the gsl_sf_exp() function with the long double
data type? I need to calculate the exponential of very large numbers
e.g. exp(711.000). In this range the double data type 'runs out of

No, sorry, GSL special functions are double precision only. As
mentioned, use expl().

Brian Gough

Network Theory Ltd,
Publishing the GSL Manual --- manual/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]