[galib] bits manipulation for floating point number in GABin2DecPhenotype
Fábio Roberto Teodoro
fr.teodoro at gmail.com
Thu Jan 29 15:30:32 EST 2009
The number of possible values in the range (-5, 5) is equal to 2^16,
in this case.
2009/1/29 Sandip Karale <sandipkarale at gmail.com>:
> Hi,
>
> For
>
> GABin2DecPhenotype map;
>
> map.add(16, -5, 5);
>
> In this case
>
> 16 bits represents a floating point number whose value can range from -5
> to 5.
>
> Can anybody please explain me how does the number of bits affects the
> floating point number?
>
> Sincerely,
>
> Sandip
>
> _______________________________________________
> galib mailing list
> galib at mit.edu
> http://mailman.mit.edu/mailman/listinfo/galib
>
>
More information about the galib
mailing list