Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

How does addition work in floating-point in np.finfo(np.float64).max + 1?

$
0
0

How does addition work in floating-point for this case?

In [6]: np.finfo(np.float64).max + 1Out[6]: 1.7976931348623157e+308

Why is there no overflow raised?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>