diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-04-12 12:42:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-04-12 12:42:24 +0200 |
commit | 3c34ca798156d58fdea79eef9c0c988f6c8980ff (patch) | |
tree | 8644fa81ebc54788cd813021d95ae7909e7467b8 /libc/string/generic/memcmp.c | |
parent | f607aad6bcfc74d1091ba8e896797a9ab76e11dc (diff) |
libm: fix bug in lrint.c
Following test case returns 2, which should be 0.
int main() {
long x = lrint(0.5);
printf("%ld", x);
return 0;
}
Fix from glibc commit 6624dbc07b5a9fb316ed188ef01f65b8eea8b47c
Diffstat (limited to 'libc/string/generic/memcmp.c')
0 files changed, 0 insertions, 0 deletions