Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is gnu lib math (libm) source code

Tags:

gnu

libm

I want to download and compile the source code for libm (GNU's may library).

Can someone point me to the correct location / repository?

like image 444
user1205476 Avatar asked Jul 18 '12 20:07

user1205476


People also ask

What is libm library?

AOCL-LibM is a software library containing a collection of basic math functions optimized for x86-64 processor-based machines. It provides many routines from the list of standard C99 math functions.

What is LIBM?

LIBM is the standard C library of basic mathematical functions, such as sin(x), cos(x), exp(x), etc. To include the LIBM functions, just add -lm on your link command line. The Intel compiler includes an optimized math library that contains optimized implementations of LIBM functions.


1 Answers

It is contained in the C standard lib: Glibc

like image 145
xojoc Avatar answered Oct 04 '22 11:10

xojoc