------------------------------------------------------------------------ Apple Power Mac 233MHz GNU/Linux 2.2.15pre9 -down- ------------------------------------------------------------------------ Apple PowerPC G3 267MHz GNU/Linux 2.2.18-4hpmac (Red Hat Linux/PPC 2000 Q4) g++ --version 2.95.3 g++ rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: nan [correct] Inf was read as: inf [correct] /usr/local/test/bin/g++ --version 3.1 /usr/local/test/bin/g++ rwinfnan3.cc && ./a.out) NaN was written as: nan Inf was written as: inf NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ Apple PowerPC G4 267MHz Darwin 1.3.3 -down- ------------------------------------------------------------------------ Apple PowerPC G4 267MHz Yellow Dog GNU/Linux 2.0 g++ --version 2.95.3 g++ rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: nan [correct] Inf was read as: inf [correct] /usr/local/test/bin/g++ --version 3.1 /usr/local/test/bin/g++ rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ Compaq Alpha Sierra OSF/1 5.0 g++ -n/a- ------------------------------------------------------------------------ Compaq/DEC Alpha OSF/1 4.0F g++ --version 2.95.3 g++ -mieee rwinfnan3.cc && ./a.out NaN was written as: -NaN Inf was written as: Infinity NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ DEC Alpha GNU/Linux 2.2.19-6.2.1 (Red Hat 6.2) g++ --version 2.95.3 g++ -mieee rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: nan [correct] Inf was read as: inf [correct] ------------------------------------------------------------------------ HP 9000/712 HP-UX 10.20 -g++ n/a- ------------------------------------------------------------------------ HP/Intel IA-64 GNU/Linux 2.2.17-14smp (Red Hat 6.2) [via HP NUE emulator on IA-32] g++ --version 2.9-ia64-000216 g++ rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: nan [correct] Inf was read as: inf [correct] sgiCC --version SGIcc Compilers: Version 0.01.0-13 sgiCC rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: nan [correct] Inf was read as: inf [correct] ------------------------------------------------------------------------ IBM PowerPC AIX 4.2 g++ rwinfnan3.cc && ./a.out NaN was written as: NaN Inf was written as: Infinity NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ IBM SP/2 AIX 4.3.2.0 g++ rwinfnan3.cc && ./a.out NaN was written as: NaN Inf was written as: Infinity NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ Intel Pentium II FreeBSD 4.1.1 g++ --version 2.95.3 g++ rwinfnan3.cc && ./a.out NaN was written as: -NaN Inf was written as: Infinity NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ Intel Pentium III GNU/Linux 2.2.17-14smp (Red Hat 6.2) g++ --version 2.95.3 g++ rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: nan [correct] Inf was read as: inf [correct] /usr/local/test/bin/g++ --version 3.1 /usr/local/test/bin/g++ rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ SGI Origin 200 IRIX 6.5 g++ --version 2.95.3 g++ rwinfnan3.cc && ./a.out NaN was written as: NaN Inf was written as: Infinity NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------ Sun SPARC GNU/Linux 2.2.19-6.2.1 (Red Hat 6.2) g++ rwinfnan3.cc && ./a.out NaN was written as: nan Inf was written as: inf NaN was read as: nan [correct] Inf was read as: inf [correct] ------------------------------------------------------------------------ Sun SPARC Solaris 2.7 g++ --version 2.95.3 g++ rwinfnan3.cc && ./a.out NaN was written as: NaN Inf was written as: Infinity NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] /usr/local/test/bin/g++ --version 3.0.2 /usr/local/test/bin/g++ -R /usr/local/test/lib/gcc-lib/sparc-sun-solaris2.7/3.0.2 rwinfnan3.cc && ./a.out NaN was written as: NaN Inf was written as: Inf NaN was read as: 999 [INCORRECT] Inf was read as: 999 [INCORRECT] ------------------------------------------------------------------------