Uploaded image for project: 'Sitara MPU & SPMCU SDKs'
  1. Sitara MPU & SPMCU SDKs
  2. EXT_SITMPUSW-44

DebugP_log API returning wrong value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • SITSW-5962
    • 10.00.00
    • 10.01.00
    • am62xx-sk

      While using %g format specifier with DebugP_log API, the value return are not accurate.

      DebugP_log("%g %g\r\n", 0.0, 1.0); 

      the above API call returns below result.

      0.000000e-308 1.00000

      while the printf() function call returns below output

      0 1

      E2E - https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1414734/am6442-sprintf-s-g-g-0-0-1-0-returns-0-000000e-308-1-00000 

       

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: