Merge pull request #594 from itaiferber/pr-ordered-set-filtering

Correct NSOrderedSet filtering by unboxing objects
diff --git a/Foundation/CGFloat.swift b/Foundation/CGFloat.swift
index 0f0a5a6..bba73b4 100644
--- a/Foundation/CGFloat.swift
+++ b/Foundation/CGFloat.swift
@@ -13,7 +13,7 @@
     /// The native type used to store the CGFloat, which is Float on
     /// 32-bit architectures and Double on 64-bit architectures.
     public typealias NativeType = Float
-#elseif arch(x86_64) || arch(arm64)
+#elseif arch(x86_64) || arch(arm64) || arch(s390x)
     /// The native type used to store the CGFloat, which is Float on
     /// 32-bit architectures and Double on 64-bit architectures.
     public typealias NativeType = Double
@@ -168,7 +168,7 @@
     public init(bitPattern: UInt) {
 #if arch(i386) || arch(arm)
         native = NativeType(bitPattern: UInt32(bitPattern))
-#elseif arch(x86_64) || arch(arm64)
+#elseif arch(x86_64) || arch(arm64) || arch(s390x)
         native = NativeType(bitPattern: UInt64(bitPattern))
 #endif
     }