
    if ( x == 0 )    return 0;        // avoid infinite loop
