[PATCH 4/4 v3] msvcrt: Import cos implementation from musl.