This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]