This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Where are std::sinf( float ) etc.
Howard Hinnant <hhinnant@apple.com> writes:
[...]
| > As to overloads for std::cosf (note the suffix), I find the
| > justificaton for them as "C99 compatibility" as dubious.
|
| Interesting.
cos() is "overloaded" in C99 through <tgmath.h>; not cosf. If the
motivation for a C++ library to add overloads for cosf is
compatibility then the motivation better finds a different, more
convincing, excuse.
-- Gaby