special functions: extra gamma-related functions to sf-gamma.c