[BangPypers] Exponential : warning overflow

Gora Mohanty gora at mimirtech.com
Tue Mar 29 09:34:42 EDT 2016

On 29 March 2016 at 17:14, Santosh Chiniwar <santosh.chini at gmail.com> wrote:
> Dear BangPypers,
>   Please find my code and I get Overflow warning. I am unable to continue
> further. Any support or help is appreciated.

Somewhere you are getting too large a number for the range of type in
the array that you are using: probably because you are dividing by the
very small Boltzmann constant.

You either need to use a type with a bigger range, say bigfloat for
arbitrary precision floating-point arithmetic, or if the errors only
occur for values that can be ignored, see
for how to ignore errors.

Incidentally, all this information is available from an easy Google search.


More information about the BangPypers mailing list