### [16.28] Unexpected circuit signal constraints

Posted:

**Mon Mar 05, 2018 7:32 pm**Hello, i was playing around with constant combinators and was wondering why the maximum value seems to be 9223372036854775295. This is 512 less than the maximum

value allowed by a signed 8-byte number, which seems a bit odd. I've also noticed setting a value larger than 2147483647 (2^31, maximum of a signed 4 byte value),

closing the combinator and then reopening it will alter the value. I suspect a conversion error between a int64 and a int32 somewhere between serializing the constant combinator and the gui

function to enter numeric values.

The negative limit of a constant combinator is capped at somewhere around -9.2x10^18, it also seems wrong that the negative limit is capped while the positive limit can overflow to negative.

value allowed by a signed 8-byte number, which seems a bit odd. I've also noticed setting a value larger than 2147483647 (2^31, maximum of a signed 4 byte value),

closing the combinator and then reopening it will alter the value. I suspect a conversion error between a int64 and a int32 somewhere between serializing the constant combinator and the gui

function to enter numeric values.

The negative limit of a constant combinator is capped at somewhere around -9.2x10^18, it also seems wrong that the negative limit is capped while the positive limit can overflow to negative.