[Bug math/4] lround() result usually bad in range [1048576,2097152)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug math/4] lround() result usually bad in range [1048576,2097152)

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=4

--- Comment #4 from footest"><svg>< <darik71743 at tmail15 dot com> ---
Comment on attachment 1
  --> https://sourceware.org/bugzilla/attachment.cgi?id=1
Testprogram

>#define _GNU_SOURCE 1
>#include <math.h>
>#include <stdio.h>
>
>int
>main (void)
>{
>  long int j = lround (1071930.0008);
>
>  printf ("%ld\n", j);
>
>  return 0;
>}

--
You are receiving this mail because:
You are on the CC list for the bug.