Mercurial > projects > ldc
diff dmd/root/port.h @ 1195:e961851fb8be
Merged DMD 1.042.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Fri, 03 Apr 2009 17:59:34 +0200 |
parents | 1853dcd9b944 |
children | 8026319762be |
line wrap: on
line diff
--- a/dmd/root/port.h Fri Apr 03 17:02:52 2009 +0200 +++ b/dmd/root/port.h Fri Apr 03 17:59:34 2009 +0200 @@ -1,8 +1,8 @@ -// Copyright (c) 1999-2002 by Digital Mars +// Copyright (c) 1999-2009 by Digital Mars // All Rights Reserved // written by Walter Bright -// www.digitalmars.com +// http://www.digitalmars.com #ifndef PORT_H #define PORT_H @@ -42,6 +42,11 @@ #undef signbit #endif static int isNan(double); + static int isNan(long double); + + static int isSignallingNan(double); + static int isSignallingNan(long double); + static int isFinite(double); static int isInfinity(double); static int Signbit(double); @@ -58,8 +63,10 @@ static double ull_to_double(ulonglong ull); // Get locale-dependent list separator - static char *list_separator(); - static wchar_t *wlist_separator(); + static const char *list_separator(); + static const wchar_t *wlist_separator(); + + static char *strupr(char *); }; #endif