bugfix for cosf/sinf found in math.xtm