Merge "Sync libm with upstream."