Changeset 2813 for branches


Ignore:
Timestamp:
Sep 10, 2006, 1:36:37 AM (19 years ago)
Author:
bird
Message:

Implemented nan(), nanl(), and nanf(). Fixes #125.

Location:
branches/libc-0.6/src/emx
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/ChangeLog.LIBC

    r2812 r2813  
    44
    552006-09-09: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     6    - libc:
     7        o #125: Implemented nan(), nanl(), and nanf().
    68    - emxomfld:
    79        o #123: Exit with 8 instead of -1 on weakld failures.
  • branches/libc-0.6/src/emx/include/math.h

    r2150 r2813  
    490490long double     truncl(long double);
    491491
    492 /* bird: these were missing, gcc apparently inlines them. */
     492/* bird: start */
    493493double          nan(const char *);
    494494float           nanf(const char *);
     495long double     nanl(const char *);
     496/* bird: end */
    495497
    496498#endif /* __ISO_C_VISIBLE >= 1999 */
  • branches/libc-0.6/src/emx/src/lib/libc.def

    r2786 r2813  
    19551955    "___libc_Back_termDll" @1953
    19561956    "___libc_ForkDeregisterModule" @1954
     1957    "__std_nan" @1955
     1958    "__std_nanf" @1956
     1959    "__std_nanl" @1957
     1960
Note: See TracChangeset for help on using the changeset viewer.