Man Page: pgagetintegerfrombinary
Operating Environment: debian
Section: 1
PGAGetIntegerFromBinary(1) PGAPack PGAGetIntegerFromBinary(1)NAMEPGAGetIntegerFromBinary - interpets a binary string as encoding an integer value and returns the integer value it represents.INPUT PARAMETERSctx - context variable p - string index pop - symbolic constant of the population the string is in start - starting bit position in the binary representation end - ending bit position in the binary representationOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" int PGAGetIntegerFromBinary(ctx, p, pop, start, end) PGAContext *ctx int p int pop int start int endLOCATIONevaluate.cEXAMPLEExample: Get an integer j from bits 10--29 of string p in population PGA_NEWPOP. PGAContext *ctx; int j, p; : j = PGAGetIntegerFromBinary(ctx, p, PGA_NEWPOP, 10, 29); 05/01/95 PGAGetIntegerFromBinary(1)
| Related Man Pages |
|---|
| pgaevaluate(1) - debian |
| pgasetrealinitrange(2) - debian |
| pgadebugprint(3) - debian |
| pgasortpop(8) - debian |
| hash_final(3) - php |