/* current power of three, init to 3^0 */
Linux style for comments is the C89 "/* ... */" style. Don't use C99-style "// ..." comments.