TwosComplementToFloat:

-------------------------------------------------------------------------------
   Converts a two's complement array to float. 
   For example:
    -28 =  TwosComplementToFloat( [1 1 1 0 0 1 0 0] )
     28 =  TwosComplementToFloat( [0 0 0 1 1 1 0 0] )
-------------------------------------------------------------------------------
   Form:
   f = TwosComplementToFloat( b, bigEndian )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   f                       Binary array
   bigEndian               1 == big endian [msb...lsb] else
                           [lsb...msb]

   -------
   Outputs
   -------
   f                       Float

-------------------------------------------------------------------------------

Children: