RTEMS | libtests/ttest01: Fix CPU counter precision issues (!311)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Mar 10 20:22:27 UTC 2025




Kinsey Moore commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/311#note_120743


This appears to have caused a constant failure on AArch64 hardware (ZynqMP) while still passing on the QEMU BSP:
```
P:2:0:UI1:test-time.c:152
FAILED:80:*ctx->c == c
```

The failing comparison generates a string representation `1.099999992` instead of the expected `1.100000000`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/311#note_120743
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250310/a0eebd37/attachment.htm>


More information about the bugs mailing list