RosettaCodeData/Task/Integer-overflow/Sidef/integer-overflow.sidef

3 lines
135 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
var (a, b, c) = (9223372036854775807, 5000000000000000000, 3037000500);
[-(-a - 1), b + b, -a - a, c * c, (-a - 1)/-1].each { say _ };