Compiler reports overflow on simple logic

Issue #1059 new
Dana Sorensen created an issue

Using SpeedCrunch 0.12 on Windows 10.

Steps to reproduce the problem

Trying to define the function

test(x)=(1<<x)-1

gives the error “overflow - logic result exceeds maximum of 256 bits”. Removing the -1 at the end fixes the error. Interestingly, adding anything (including +0) at the end causes the error to reappear.

Comments (0)

  1. Log in to comment