[libc][math][c23] Implement canonicalize functions (#85940)

Fixes: #85286
GitOrigin-RevId: 19ca79e8671439338b429982c457304c70eca701
21 files changed