[freenet-dev] 0.0 == 1.0? (was: [freenet-cvs] r11495 - trunk/freenet/src/freenet/node)

Matthew Toseland toad at amphibian.dyndns.org
Tue Dec 19 23:41:03 UTC 2006


On Tue, Dec 19, 2006 at 10:16:42PM +0100, freenetwork at web.de wrote:
> >Ensure the location is in between 0.0 and 1.0 on PeerManager.distance()
> 
> >      * Both parameters must be in [0.0, 1.0].
> 
> mustn't that be [0.0, 1.0[ ? i thought 0.0 is the same as 1.0?

They're the same. But both are valid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20061219/2bb02411/attachment.pgp 


More information about the Devl mailing list