I am not sure how dumb this question is, but I have an algorithm that outputs huge numbers (more than 1e300). I have tried the arbitrary precision library mpmat
bu now I want to stick with numpy
.
as a simple example, how can I store 1e400
without getting inf
?
a = 1e400
I know that I should have more bits storage, but I don't know if there is a way to have less significant numbers while keeping the exponent.