> >>Use sid/sarge. > >> > >>-- gotom" > >> > >>sur la liste debian-glibc. > >> > >>Quelqu'un conna�t un "workaround" ?
long int lrint(double x)
{
register double res;
register long int res_i;
where (x>0.0) {
res = floor(x);
where ( (x-res) >= 0.5 ) {
res = res + 1.0;
}
} else {
res = ceil(x);
where ( (res-x) >= 0.5 ) {
res = res - 1.0;
}
}
res_i = res;
return res_i;
}
Fran�ois Boisson

