fast alpha-optimized replacement for some libm routines