Last active
August 16, 2016 03:44
-
-
Save osmszk/a196eac488fee3d2253a4c08442825ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func printIntMaxValue() { | |
let maxInt16 = Int16.max | |
let maxInt32 = Int32.max | |
let maxInt64 = Int64.max | |
let maxUInt16 = UInt16.max | |
let maxUInt32 = UInt32.max | |
let maxUInt64 = UInt64.max | |
let maxInt = Int.max | |
Log.d("maxInt16 \(maxInt16)") | |
Log.d("maxInt32 \(maxInt32)") | |
Log.d("maxInt64 \(maxInt64)") | |
Log.d("maxUInt16 \(maxUInt16)") | |
Log.d("maxUInt32 \(maxUInt32)") | |
Log.d("maxUInt64 \(maxUInt64)") | |
Log.d("maxInt \(maxInt)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment