Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11621

powf function contains dead code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Low Low

      The function powf is implemented in the RTS source file e_powf.c.  This if statement from line 228 ...

      	    if(p_l+ovt>z-p_h)
      

      and this if statement from line 240 ...

      	    if(p_l<=z-p_h)
      

      ... are always true.

      Consider removing these if statements. That would make it easier for customers who analyze the code behavior to make sure all if statements execute both ways.

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

              Created:
              Updated: