[galib] bits manipulation for floating point number in GABin2DecPhenotype

Sandip Karale sandipkarale at gmail.com
Wed Jan 28 23:44:46 EST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20090129/c210b424/attachment.htm


More information about the galib mailing list