3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 6 Jun 2001 <nathan@codesourcery.com>
6 // Bug 2914. New types can be created in a static member
7 // initializer. These should not be injected into the member's class's
13 static void toDouble();
15 static const double s_NaN;
16 static const double s_positiveInfinity;
17 static const double s_negativeInfinity;
18 static const double s_positiveZero;
19 static const double s_negativeZero;
20 static const unsigned long* s_NaNFirstDWORD;
21 static const unsigned long* s_NaNSecondDWORD;
24 const double DoubleSupport::s_positiveInfinity =
25 (__extension__ ((union { unsigned char __c[8]; double __d; })
26 { __c: { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } }).__d);
34 DoubleSupport::toDouble()