smarter way to get the broadcast address
correct bug when present-value returns a NaN float.