Fixed fallback case for decoding CGFloat
diff --git a/Foundation/CGFloat.swift b/Foundation/CGFloat.swift
index 2141372..904600d 100644
--- a/Foundation/CGFloat.swift
+++ b/Foundation/CGFloat.swift
@@ -962,9 +962,9 @@
             // other type.
             do {
                 if NativeType.self == Float.self {
-                    self.native = NativeType(try container.decode(Float.self))
-                } else {
                     self.native = NativeType(try container.decode(Double.self))
+                } else {
+                    self.native = NativeType(try container.decode(Float.self))
                 }
             } catch {
                 // Failed to decode as the other type, too. This is neither a Float nor