Put external headers before internal ones. While there, replace a lot of occurences of "openlibm.h" with <openlibm.h>. It should be thought of as an external header, as it is installed along with the library.
int isopenlibm() = 1
Remove man