|
The IEEE 754 Floating-Point Standard is available at [31]. A highly recommended reading on this topic is the article by Goldberg [22].
The reader is referred to [39] for further details on Unicode, See Chapter 5 of [23] for a more detailed discussion on conversions and promotions in Java. Chapter 4 of [54] does the same for C++.
Chapter 21 of Stroustrup [54] presents in great detail the implementation level details of the C++ stream classes.
Our discussion on the I/O streams focussed primarily on the input and the output of the primitive types since the I/O in most cases is geared toward those types. However, as shown in Figure 6.3, the java.io package also contains classes for direct object-level I/O. A Java class must implement the Serializable interface if it is to be subject to I/O using the object streams. The homework section of this chapter includes a problem on this topic. Direct object-level I/O in C++ can be carried out by suitably overloading the output and the input stream operators.
|