Where is the manpage of M_PI?

Nils Kassube kassube at gmx.net
Thu Jun 11 04:20:53 UTC 2015

Peng Yu wrote:
> > Not exactly, but you can use
> > 
> > man math.h
> > 
> > if you have the package "libc6-dev" installed.
> I don't find `man math.h`. Where is it?
> ~$ sudo apt-get install libc6-dev

> ~$ man math.h
> No manual entry for math.h

I think that's a bit strange. Which version of Ubuntu did you try? On my 
14.04 machines I can see this:

~/ > whereis math.h
math: /usr/include/math.h
~/ > apt-file search /usr/include/math.h
libc6-dev: /usr/include/math.h

So libc6-dev should be the relevant package. Perhaps you need to run

hash -r

before it works.


More information about the ubuntu-users mailing list