RTEMS | Follow-up from "libtests/ttest01: Fix CPU counter precision issues" (#5228)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Mar 11 02:08:19 UTC 2025



Sebastian Huber created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5228

Assignee: Sebastian Huber

The following discussion from !311 should be addressed:

- [x] @opticron started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/311#note_120743 "libtests/ttest01: Fix CPU counter precision issues"): (+1 comment)

  >>>
  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/-/issues/5228
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/20250311/2306fe15/attachment.htm>


More information about the bugs mailing list