What happened to trig functions in math.h?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Shawn T. Rutledge
Date:  
Subject: What happened to trig functions in math.h?
It wasn't a link error, it was a compile error (cos function not defined).
And I grepped in /usr/include. But I see it's in that bits/ subdirectory.
Now I'll have to see why including <math.h> as it already did, was not
enough.

On Wed, Jul 11, 2001 at 10:41:03PM -0700, Bob wrote:
> I believe cos is defined in mathcalss.h which is included by math.h.
>
> If you are having difficulty linking, make sure you use -lm on your gcc
> command line to link to the math library.


-- 
  _______                   Shawn T. Rutledge / KB7PWD  
 (_  | |_)          http://www.bigfoot.com/~ecloud  
 __) | | \________________________________________________________________