help-octave
[Top][All Lists]
Advanced

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

How to handle underflow in fermi_dirac_mhalf function


From: pauljoseph
Subject: How to handle underflow in fermi_dirac_mhalf function
Date: Wed, 16 Jan 2008 22:33:26 -0800 (PST)

Hi,
I am currently using the fermi_dirac_mhalf function:
fermi_dirac_mhalf(-E./kT)

But it happens that the value of E./kT seems to be quite large that it gives
an underflow error.

error: GSL error 15 at fermi_dirac.c, line 1428: underflow

Is there anyway to handle this or to catch the error in my code?

Thanks

oka

-- 
View this message in context: 
http://www.nabble.com/How-to-handle-underflow-in-fermi_dirac_mhalf-function-tp14912912p14912912.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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