W
Active Editors
Back to Profile

User Talk: Copyeditor42

Server-side rendered snapshot of this editor's Wikipedia talk page discussions.

'''Welcome!'''

Hello, {{BASEPAGENAME}}, and welcome ↗ to Wikipedia! Thank you for your contributions ↗{{#if:|, especially what you did for :{{{art}}} ↗}}. I hope you like the place and decide to stay. Here are some pages that you might find helpful:

I hope you enjoy editing here and being a Wikipedian ↗! Please sign ↗ your messages on discussion page ↗s using four tilde ↗s (<nowiki>~~~~</nowiki>); this will automatically insert your username and the date. If you need help, check out Wikipedia:Questions ↗, ask me on {{#if:|my talk page ↗|my talk page}}, or ask your question on this page and then place <code><nowiki>{{helpme}}</nowiki></code> before the question. Again, welcome! <!-- Template:Welcome --> RJFJR (talk) 16:26, 31 March 2009 (UTC)

Hex exponent notation



Hi. I have a question regarding an old edit of yours (http://en.wikipedia.org/w/index.php?title=Hexadecimal&type=revision&diff=426366781&oldid=423939153 ↗) where you added information about a hex exponent notation using a "p" letter to denote "*2^". Can you provide additional information where this notation is used or by whom it was proposed? I am aware of a very similar notation using an uppercase "B" for exactly the same purpose, and have also seen implementations (in calculators) using a lowercase "b", but never a "p" (although this would avoid any possible ambiguity with the base of the mantissa). Can you provide a source for this and/or narrow this down in time?
<br>Thanks --Matthiaspaul (talk) 23:58, 29 August 2015 (UTC)

:The "p" notation is required by IEEE standard 754-2008 ↗ for floating-point systems. It's also required by the Single Unix Specification ↗ (IEEE standard 1003.1, aka. POSIX) for the %a specifier ↗ in the printf ↗ family of functions.

:It's been in printf for ages -- at least 20 years for the GNU ↗ printf, which may have been the first to introduce the notation (if it was not the 1985 version of IEEE 754).

:See the POSIX man-page http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html for the %a specifier.

:I have never seen any other hex exponential notation on machines within the last 35 years; and 'b' or 'B' would certainly be ambiguous within the significand ↗.

:Copyeditor42 (talk) 10:28, 2 September 2015 (UTC)