www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/09/13:25:29

Date: Fri, 9 Apr 93 13:02:23 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: tesla AT lamar DOT colostate DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Bessel functions in math.h

> I'm writing a program in which I need to use bessel functions (jn(double,int)).
> I don't need the accuracy of doubles, so I'm using floats...  The compiler
> can't find the linker can't find the function jn.  I'm including math.h and
> I'm linking libm.a.  Could the problem be that, according to math.h the code
> is actually C++ code and somehow the linker is looking for jn(float,int)
> because of the way I've coded my program?

More likely they're just not there because I never wrote them.  Feel
free to write your own and post them here and they'll get added to the
official library later.

Not everything in the include files is in the library, unfortunately.

DJ

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019