Fix tan missing underflows (bug 16517).