pow() function question

talexb-SBdzbUvMQDunS0EtXVNi6w at public.gmane.org talexb-SBdzbUvMQDunS0EtXVNi6w at public.gmane.org
Wed Oct 20 17:39:15 UTC 2004


On Wed, 20 Oct 2004 fcsoft-3Emkkp+1Olsmp8TqCH86vg at public.gmane.org wrote:

> What library does one have to link in to enable the pow() function in a C
> program?

[alex at foobar alex]$ man pow
EXP(3)                   Linux Programmer's Manual                  EXP(3)

NAME
       exp, log, log10, pow - exponential, logarithmic and power functions

SYNOPSIS
       #include <math.h>
...

Now you know how to find out.

Alex

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list