Use 'inf' as large value instead of 1e20 #421

Merged
tvwerkhoven merged 1 commits from master into master 2013-08-28 03:06:33 +02:00
tvwerkhoven commented 2013-08-20 10:55:47 +02:00 (Migrated from github.com)

'inf' is always bigger than any number, 1e20 is not.

8 bytes have a maximum value of (2**8)**8 ~ 1.8e19, so 1e20 will work in this case, but could break when more bytes are used.

'inf' is always bigger than any number, 1e20 is not. 8 bytes have a maximum value of (2**8)**8 ~ 1.8e19, so 1e20 will work in this case, but could break when more bytes are used.
This repo is archived. You cannot comment on pull requests.
No description provided.