[freenet-dev] 0.0 == 1.0? (was: [freenet-cvs] r11495 - trunk/freenet/src/freenet/node)
freenetwork at web.de
freenetwork at web.de
Tue Dec 19 23:49:56 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()
>>=20
>> > * Both parameters must be in [0.0, 1.0].
>>=20
>> 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.
what's the reason to have 0.0/1.0 to be populated twice? one time as 0.0 and one time as 1.0.
so 0.1 is the same as 1.1? but the max is 1.0, so why is then 0.0 the same as 1.0 ? i simply don't understand the reasoning for this
More information about the Devl
mailing list