3 Commits

Author SHA1 Message Date
Kevin A. Pieckiel
4cc28b8dd8
Change shift left operator to exponent operator to avoid overflow
Large numbers of hosts (/0 and /1 subnets) are overflowing and showing
as a negative number.  Changing 1<<(32-mask) to 2**(32-mask) causes
JavaScript to calculate the integer properly.
2023-01-06 18:22:45 -05:00
John Steel
529d10399a Replacing broken gif with fork me link 2020-09-07 11:42:06 -04:00
David Croft
5ef32e2d84 initial import of visual subnet calculator 2017-09-20 16:49:00 +01:00