Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

compile c++ clang online

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.74 sec, absolute running time: 0.13 sec, cpu time: 0 sec, memory peak: 4 Mb, absolute service time: 0.88 sec 
edit mode |  history
assertions
ULong 18446744073709551615 (ffffffffffffffff) deserialized to UInt 4294967295 (ffffffff) 
UInt 4294967295 (ffffffff) deserialized to ULong 18446744073709551615 (ffffffffffffffff) 

0x80000000 -> UInt
ULong 2147483648 (80000000) deserialized to UInt 2147483648 (80000000) 

0xFFFFFFFF -> UInt
ULong 4294967295 (ffffffff) deserialized to UInt 4294967295 (ffffffff) 

UInt(-1) -> ULong -> UInt 
UInt 4294967295 (ffffffff) deserialized to ULong 18446744073709551615 (ffffffffffffffff) 
ULong 18446744073709551615 (ffffffffffffffff) deserialized to UInt 4294967295 (ffffffff) 

UInt(-2) -> ULong -> UInt 
UInt 4294967294 (fffffffe) deserialized to ULong 18446744073709551614 (fffffffffffffffe) 
ULong 18446744073709551614 (fffffffffffffffe) deserialized to UInt 4294967294 (fffffffe) 

ULong(-1) -> UInt -> ULong 
ULong 18446744073709551615 (ffffffffffffffff) deserialized to UInt 4294967295 (ffffffff) 
UInt 4294967295 (ffffffff) deserialized to ULong 18446744073709551615 (ffffffffffffffff) 

ULong(-2) -> UInt -> ULong 
ULong 18446744073709551614 (fffffffffffffffe) deserialized to UInt 4294967294 (fffffffe) 
UInt 4294967294 (fffffffe) deserialized to ULong 18446744073709551614 (fffffffffffffffe) 

UInt(INT_MAX) -> ULong -> UInt 
UInt 2147483647 (7fffffff) deserialized to ULong 2147483647 (7fffffff) 
ULong 2147483647 (7fffffff) deserialized to UInt 2147483647 (7fffffff) 

ULong(INT_MAX) -> UInt -> ULong 
ULong 2147483647 (7fffffff) deserialized to UInt 2147483647 (7fffffff) 
UInt 2147483647 (7fffffff) deserialized to ULong 2147483647 (7fffffff) 

UInt(INT_MIN) -> ULong -> UInt 
UInt 2147483648 (80000000) deserialized to ULong 18446744071562067968 (ffffffff80000000) 
ULong 18446744071562067968 (ffffffff80000000) deserialized to UInt 2147483648 (80000000) 

ULong(INT_MAX + 1) -> UInt
ULong 2147483648 (80000000) deserialized to UInt 2147483648 (80000000) 

ULong(INT_MIN - 1) -> UInt
OOPS: can't deserialize -2147483649 (ffffffff7fffffff) because it's smaller than INT_MIN
ULong 18446744071562067967 (ffffffff7fffffff) deserialized to UInt 3735928559 (deadbeef) 

ULong(UINT_MAX + 1) -> UInt
OOPS: can't deserialize 4294967296 (100000000) because it's larger than UINT_MAX
ULong 4294967296 (100000000) deserialized to UInt 3735928559 (deadbeef) 


    
                
λ
.NET NoSQL database for rapid development