POSIX math: Use the Perl_ math APIs (C89) consistently.