[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
supported version of glibc, workarround to gnulib and math constant mod
supported version of glibc, workarround to gnulib and math constant module
Wed, 30 Jun 2010 14:34:12 +0200
I am trying to port harminv to gnulib.
However this package has the following code in order to work arround a
weird bug in glibc 2.2.5. Do you support this lib ?
If you use the complex clog function in a pure c program library than
link from another (C++) program, the program seems to crash from this
c++ program. It seems related to
a conflict between class clog of c++ and function clog. Upstream of
harminv use the following workarround:
#define clog my_clog
static cmplx my_clog(cmplx z)
return (log(cabs(z)) + I * carg(z));
Does this kind of workarround is suitable for gnulib ?
Another question do you accept a package a math constant like for
instance M_PI and other constant? It will be really useful for math
and physics program to get a resonnable loist of math constant by
- supported version of glibc, workarround to gnulib and math constant module,
Bastien ROUCARIES <=