Where are the man pages for c++ headers imported from C (e.g. cmath)?

Peng Yu pengyu.ut at gmail.com
Wed Sep 7 01:44:51 UTC 2011

On Tue, Sep 6, 2011 at 12:00 AM, Nils Kassube <kassube at gmx.net> wrote:
> Peng Yu wrote:
>> Are there man pages for header files like cmath and cstdio available
>> on ubuntu? I'm getting tied of always going online.
> Install the package "manpages-dev".

I see something like. This is for math.h. Although cmath is almost the
same as math.h, I think that there might be subtle difference. Is
there a manpage for cmath?

                                           Linux Programmer's Manual


       log, logf, logl - natural logarithmic function

       #include <math.h>

       double log(double x);
       float logf(float x);
       long double logl(long double x);

       Link with -lm.


More information about the ubuntu-users mailing list