You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When N>1500, the existing code overflows and results in inf
Tried to fix it by increasing the temp_power variable so that it can calculate a larger range of floating point numbers, but it didn't work.
The text was updated successfully, but these errors were encountered:
Thank you @Yonv1943 for the help!
The original limit of N is 1024, and the maximum maxpower is automatically set with max - 96 by max_tmp_power = int(mult_pow_timess.max().item() - 960), 90 being a value slightly less than the limit of 1024. The problem was then solved by computing the large number with Python's native math.log10(int). Currently can support N up to 20,000.
When N>1500, the existing code overflows and results in inf Tried to fix it by increasing the temp_power variable so that it can calculate a larger range of floating point numbers, but it didn't work.
The text was updated successfully, but these errors were encountered: