Where are std::sinf( float ) etc.

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Dec 29 21:11:00 GMT 2005


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



More information about the Libstdc++ mailing list