Talk:Ways of writing numbers: Difference between revisions
Jump to navigation
Jump to search
John McKenna (talk | contribs) (Created page with "In the Twitter thread: "Have you seen fractional numbers in hex or octal notation?" Literals like 0x1.123abcp-5 are now standard in C and C++. The exponent (following 'p') is...") |
(No difference)
|
Revision as of 20:24, 7 July 2021
In the Twitter thread: "Have you seen fractional numbers in hex or octal notation?" Literals like 0x1.123abcp-5 are now standard in C and C++. The exponent (following 'p') is written in decimal. The Handbook of Floating Point Arithmetic (Muller and about a thousand others) uses this format (sometimes without the 0x) to provide exact floating point constants.