Query: pgagetintegerfromgraycode
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGAGetIntegerFromGrayCode(1) PGAPack PGAGetIntegerFromGrayCode(1)NAMEPGAGetIntegerFromGrayCode - interpets a binary reflected Gray code sequence 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 PGAGetIntegerFromGrayCode(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. The string is encoded in Gray code. PGAContext *ctx; int j, p; : j = PGAGetIntegerFromGrayCode(ctx, p, PGA_NEWPOP, 10, 29); 05/01/95 PGAGetIntegerFromGrayCode(1)
Related Man Pages |
---|
pgasetintegerinitrange(2) - debian |
pgasetrealinitpercent(2) - debian |
pgasetrealinitrange(2) - debian |
pgadebugprint(3) - debian |
hx509_cert_keyusage_print(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
Introduction |
Find columns in a file based on header and print to new file |
New UNIX and Linux History Sections |