Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 9 Lexical structureprevious at this levelnext at this level 9.4 Tokensprevious at this levelnext at this level 9.4.4 Literalsprevious at this levelnext at this level 9.4.4.3 Real literals Paragraph 11 Real literals are used to write values of types float, double, and decimal. real-literal :: decimal-digits . decimal-digits exponent-partopt real-type-suffixopt . decimal-digits exponent-partopt real-type-suffixopt decimal-digits exponent-part real-type-suffixopt decimal-digits real-type-suffix exponent-part :: e signopt decimal-digits E signopt decimal-digits sign :: one of + - real-type-suffix :: one of F f D d M m Paragraph 21 If no real-type-suffix is specified, the type of the real literal is double. 2 Otherwise, the real-type-suffix determines the type of the real literal, as follows: Paragraph 31 If the specified literal cannot be represented in the indicated type, a compile-time error occurs. Paragraph 41 The value of a real literal having type float or double is determined by using the IEEE "round to nearest" mode.
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS