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]

sincos ( a little off-topic)


this questionis not directly gsl-specific, but it may interest some of 
you, and I couldn't find an answer anywhere else.

I'm trying to use the sincos function which is supposed to be provided
by libc. however all I get is the following compiler error:

test_math.C: In function `int main()':
test_math.C:26: implicit declaration of function `int sincos(...)'

I had a look at math.h and there's a strange construct which declares
sincos only if some macro is defined.

does anyone know how to access this function, and maybe also if its
preformance is reasonable?

thanks in advance,

daniel

-- 
Daniel Rohe
Max Planck Institute for Solid State Research
Heisenbergstr. 1, D-70569 Stuttgart
Phone: +49 711/689-1516
Fax:   +49 711/689-1702




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