Tanaka Akira dixit:
>I found that dietlibc doesn't provide sqrt() function.
> /usr/lib/diet/lib-x86_64/libc.a(vprintf.o): In function `vprintf':
From what I can see, upstream only provides sqrt() for i386,
not for amd64 or other architectures.
I guess libm is not a priority. (I don’t use it my
Package: dietlibc-dev
Version: 0.33~cvs20120325-4
I found that dietlibc doesn't provide sqrt() function.
The following program shows the problem.
% cat tst.c
#include
#include
#include
int main(int argc, char *argv[])
{
double x = sqrt(atof(argv[1]));
printf("%f\n", x);
2 matches
Mail list logo