Logo Search packages:      
Sourcecode: blender version File versions  Download package

pow2.c

#include "bench.h"

int power_of_two(int n)
{
     return (((n) > 0) && (((n) & ((n) - 1)) == 0));
}

Generated by  Doxygen 1.6.0   Back to index