Presentation is loading. Please wait.

Presentation is loading. Please wait.

ISBN 0-321-19362-8 Chapter 6 Data Types. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-2 Figure 6.1 IEEE floating-point formats: (a)

Similar presentations


Presentation on theme: "ISBN 0-321-19362-8 Chapter 6 Data Types. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-2 Figure 6.1 IEEE floating-point formats: (a)"— Presentation transcript:

1 ISBN 0-321-19362-8 Chapter 6 Data Types

2 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-2 Figure 6.1 IEEE floating-point formats: (a) Single precision, (b) Double precision

3 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-3 Figure 6.2 Compile-time descriptor for static strings

4 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-4 Figure 6.3 Run-time descriptor for limited dynamic strings

5 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-5 Figure 6.4 Example slices in Fortran 95

6 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-6 Figure 6.5 Compile-time description for single-dimensioned arrays

7 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-7 Figure 6.6 The location of the [i,j] element in a matrix

8 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-8 Figure 6.7 A compile-time descriptor for a multidimensional array

9 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-9 Figure 6.8 A compile-time descriptor for a record

10 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-10 Figure 6.9 A discriminated union of three shape variables (assume all variables are the same size)

11 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-11 Figure 6.10 A compile-time descriptor for a discriminated union

12 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-12 Figure 6.11 The assignment operation j = *ptr

13 Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-13 Figure 6.12 An example of the actions of the marking algorithm


Download ppt "ISBN 0-321-19362-8 Chapter 6 Data Types. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.6-2 Figure 6.1 IEEE floating-point formats: (a)"

Similar presentations


Ads by Google