Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
17
Task/Integer-overflow/FutureBasic/integer-overflow.basic
Normal file
17
Task/Integer-overflow/FutureBasic/integer-overflow.basic
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
include "NSLog.incl"
|
||||
|
||||
NSLog( @"FB Integer ranges:\n" )
|
||||
|
||||
NSLog( @"UInt64: 0 to %llu", ULLONG_MAX )
|
||||
NSLog( @"SInt64: %lld to %lld\n", LLONG_MIN, LLONG_MAX )
|
||||
|
||||
NSLog( @"UInt32: 0 to %u", UINT_MAX )
|
||||
NSLog( @"SInt32: %ld to %ld\n", INT_MIN, INT_MAX )
|
||||
|
||||
NSLog( @"UInt16: 0 to %hu", USHRT_MAX )
|
||||
NSLog( @"SInt16: %hd to %hd\n", SHRT_MIN, SHRT_MAX )
|
||||
|
||||
NSLog( @"UInt8: 0 to %u", UCHAR_MAX )
|
||||
NSLog( @"SInt8: %d to %d", CHAR_MIN, CHAR_MAX )
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue