Need help scripting a double for/while loop

Hello Daniel,

It’s actually working as expected. You’re getting an error because the node is trying to output this huge value as an integer and integers have a maximum value.

Once you go past the factorial of 12, you should really switch to complex numbers instead.

The problem is that if this node is changed to output complex numbers, then all other nodes will also have to be changed to handle complex numbers…

As a work-around, you could try to do your calculation in the python interpreter instead. There you can mix and match value types as much as you want.

2016-02-16_19-04-09