This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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) {
...
}



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]