+ 2
Why the calculation2's result is NaN, and not a number?
4 Answers
+ 6
Your problem lies in this part of your code: Math.pow(11887, 17197)
The result of that is 'infinity.' The remainder of infinity is infinity, and that isn't a number.
+ 2
Oh, I got it. Thank you so much
+ 2
bcz it will not calculate that power.. instead used infinity %x.. NaN that is undefined..
- 1
nan is like a zero infinitly
in minecraft nan can exist
youtube channel antvenom
thx!