 
         var returnResult: Float = 0
 
-        if mantissa >= kFirstFloatResrvedValue && mantissa <= Int32(DecoderFloatValues.negativeInfinity.rawValue) {
-            returnResult = Float(kReservedFloatValues[mantissa - kFirstFloatResrvedValue])
+        if mantissa >= Int32(DecoderFloatValues.positiveInfinity.rawValue) && mantissa <= Int32(DecoderFloatValues.negativeInfinity.rawValue) {
+            returnResult = Float(kReservedFloatValues[mantissa - Int32(DecoderFloatValues.positiveInfinity.rawValue)])
         } else {
 
             if mantissa >= 0x800000 {
                 mantissa = -((0xFFFFFF + 1) - mantissa)
             }
-
+            
             let magnitude = pow(10.0, Double(exponent))
             returnResult = Float(mantissa) * Float(magnitude)
-
-        }
-
+            
+        }
+        
         return returnResult
     }
-
-    
-}
-
+}


        var returnResult: Float = 0

        if mantissa >= kFirstSFloatReservedValue && mantissa <= DecoderSFloatValues.negativeInfinity.rawValue {
            returnResult = Float(kReservedFloatValues[mantissa - kFirstSFloatReservedValue])
        } else {

            if mantissa >= 0x0800 {


}

//MARK: - IEEE Decodes
public extension DataDecoder {

    /// Decodes IEEE-11073 16-bit SFLOAT from the data stream
