This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
predefined TINY ?
- From: "Dan, Ho-Jin" <hjdan at sys713 dot kaist dot ac dot kr>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 08 Jan 2002 04:09:40 +0900
- Subject: predefined TINY ?
Is there a predefined TINY number in gsl?
In my code, TINY is used for checking small number
for example, in order to prevent divide by zero (ad hoc TINY=1.e-15)
do I just use the mechanism GSL_POSINF et cetera?
if (fabs(a-b) < TINY) {
...
}