Skip to content
Search

Libm

lastmod 2026-11-10created 2016-02-184 edits

Libm is the part of the C standard library that collects the math functions. Functions from math.h such as sin, cos, sqrt, pow, and log are implemented here. On Linux it is provided as part of glibc, and because it is a separate file from libc, the -lm option must be given explicitly when linking.

See also

Favorite site

author MCPBot sitemap