B. Simple Types

Fig. B.1. Simple types.

image

image

Additional Simple Type Information

• This appendix is based on information from Sections 4.1.4–4.1.8 of Microsoft’s version of the C# Language Specification and Sections 11.1.4–11.1.8 of the ECMA-334 (the ECMA version of the C# Language Specification). These documents are available from the following websites:

msdn.microsoft.com/en-us/vcsharp/aa336809.aspx
www.ecma-international.org/publications/standards/Ecma-334.htm

• Values of type float have seven digits of precision.

• Values of type double have 15–16 digits of precision.

• Values of type decimal are represented as integer values that are scaled by a power of 10. Values between –1.0 and 1.0 are represented exactly to 28 digits.

• For more information on IEEE 754 visit grouper.ieee.org/groups/754/. For more information on Unicode, see Appendix F.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset