
12 Apr
2022
12 Apr
'22
8:23 a.m.
Hi Waldemar, Are you looking for unittest code in a specific test-framework? To reproduce the bug, simply print the value of lrint(0.5). It should print 0 but instead it prints 2: int main() { long x = lrint(0.5); printf("%ld", x); return 0; }