In file No file:

int isitapoweroftwo (int val)

Checks if power of two

Documentation

Checks if power of two. This function checks to see if an integer is a power of two.

Returns:
s -1 if not a power of two, +1 if a power of two.
Parameters:
val - Number to be checked
Author:
Edward Daw, June 1999

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++