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:

| Many pardons if my inquiry ruffled any feathers.  That was not my
| intent.
| 
| On Dec 29, 2005, at 3:05 PM, Gabriel Dos Reis wrote:
| 
| > In this specific case, it appears to me that you're operating under
| > the (mistaken) assumption that we selectively merged the C99 math part
| > of TR1 into the libstdc++.  The C99 math stuff particularly hit
| > libstdc++ long before TR1 was initiated or completed (have to dig to
| > see the exact dates).
| 
| The first C99 compatibility paper to appear before the LWG is dated
| March 2002.

C99 compatibility support went into libstdc++ in the very earliest
development snapshots (when libstdc++ was sort of less tightly
integrated to GCC).  According to the ChangeLogs, checkins from September 2000
era already introduced macro hooks for C99 math functions, with comments:

        * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
        snapshot release soon.
        (_GNU_SOURCE): Define this in the header files, as ISO C99 support
        is pretty much assumed.

they were further refined into _ISOC99_SOURCE (more work in 2001) and
in the final state you can contemplate now.  The ChangeLogs and the
list archive have more information to offer to the curious
archeologist than my limited memory would recall (no, no upgrades,
thank you :-) 

-- Gaby


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