- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Is it the data conversion of real(8) to interger(4) valid for the above O/S and P IV machine?
2. What is the maximum length of the integer(4) and real(8)?
3. Is the random number generator dependence to the different type of computer?
2. What is the maximum length of the integer(4) and real(8)?
3. Is the random number generator dependence to the different type of computer?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. What do you mean by "valid"? You can do the conversion, if the real number isn't outside the range for integer(4). 2. The Programmer's Guide lists the ranges of the various datatypes in the chapter Data Representation. 3. If you mean different processor type for the same program, built with the same compiler, no. However, there is no guarantee that you'll get the same sequence when using two different compilers or even two different versions of the same compiler.
Steve
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page