Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #214

Re: An hexadecimal digits group separator for long 64bit addresses

From Florian Kutscherauer<florian.kutscherauer@gmx.at>
Newsgroups comp.std.c++
Subject Re: An hexadecimal digits group separator for long 64bit addresses
Date 2011-08-10 11:50 -0600
Organization Tele2UTA Telecommunications GmbH
Message-ID <j1u2qo$7h0$2@newsreader2.utanet.at> (permalink)
References (1 earlier) <itdl0j$ltu$1@dont-email.me> <96mnalFvp7U1@mid.individual.net> <75905c6c-2ee6-4dbb-8f4f-0d4fc6fc6d67@d26g2000prn.googlegroups.com> <d8cf6bd6-e37c-4827-8dd5-2ccff3d71cf4@q29g2000prj.googlegroups.com> <9a5gd1Ft5qU1@mid.individual.net>

Show all headers | View raw


On Sun, 07 Aug 2011 13:07:44 -0600, Niklas Holsti wrote:

>  Philip Guenther wrote:
>>
>>  On Jun 27, 12:38 pm, Yakov Galka<ybungalob...@gmail.com>  wrote: ...
>>>
>>>  Maybe it's a silly idea, but we can use whitespace as a separator. It
>>>  even looks better than _ or '.
>>>
>>>  Is there a place in C++ grammar where "pp-number pp-number" or "pp-
>>>  number identifier" are legal sequences when converted to tokens at
>>>  translation phase 7? AFAIK no. If so, we can concatenate these tokens
>>>  at translation phase 6, just as we do it for string literals. For
>>>  example:
>>>
>>>  3.14 159 265 f == 3.14159265f
>>
>>  All human languages have a level of redundancy.  Tenses must match;
>>  declensions must match; the 'person' of a verb (probably the wrong
>>  term) must match that of the subject used.
>>
>>  Right now, if you make the typo of leaving out an operator between
>>  numbers (perhaps as part of a macro expansion) you get a syntax error.
>>  This would eliminate that.
>
>  Stepping outside the 7-bit ASCII set, the non-breaking space character
>  could be used to separate digits in numbers, with less risk of hiding
>  such typos.

In Unicode the use of the thin space U+2009 is recommended.  This space
is thinner that the normal space.  It's what a typographer would want to
use.

Flo.


-- 
[ comp.std.c++ is moderated.  To submit articles, try posting with your ]
[ newsreader.  If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]

Back to comp.std.c++ | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

An hexadecimal digits group separator for long 64bit addresses Yaniv Abraham <yaniv1abraham@gmail.com> - 2011-06-16 12:07 -0600
  Re: An hexadecimal digits group separator for long 64bit addresses Miles Bader<miles@gnu.org> - 2011-06-17 13:17 -0600
  Re: An hexadecimal digits group separator for long 64bit addresses Ed Smith-Rowland<3dw4rd@verizon.net> - 2011-06-17 13:18 -0600
  Re: An hexadecimal digits group separator for long 64bit addresses Victor Bazarov<v.bazarov@comcast.invalid> - 2011-06-17 13:16 -0600
    Re: An hexadecimal digits group separator for long 64bit addresses Niklas Holsti <niklas.holsti@tidorum.invalid> - 2011-06-25 14:06 -0600
      Re: An hexadecimal digits group separator for long 64bit addresses Yakov Galka <ybungalobill@gmail.com> - 2011-06-27 13:38 -0600
        Re: An hexadecimal digits group separator for long 64bit addresses Philip Guenther <guenther@gmail.com> - 2011-06-30 10:30 -0600
          Re: An hexadecimal digits group separator for long 64bit addresses Niklas Holsti <niklas.holsti@tidorum.invalid> - 2011-08-07 13:07 -0600
            Re: An hexadecimal digits group separator for long 64bit addresses Florian Kutscherauer<florian.kutscherauer@gmx.at> - 2011-08-10 11:50 -0600
              Re: An hexadecimal digits group separator for long 64bit addresses Ed Smith-Rowland <3dw4rd@verizon.net> - 2011-08-11 08:19 -0600
                Re: An hexadecimal digits group separator for long 64bit addresses Yakov Galka<ybungalobill@gmail.com> - 2011-08-15 07:46 -0600
                Re: An hexadecimal digits group separator for long 64bit addresses "Martin B." <0xCDCDCDCD@gmx.at> - 2011-08-16 21:29 -0600
                Re: An hexadecimal digits group separator for long 64bit addresses Ed Smith-Rowland <3dw4rd@verizon.net> - 2011-08-18 07:53 -0600
                Re: An hexadecimal digits group separator for long 64bit addresses Leo Equinox Gaspard <ekinox1995@gmail.com> - 2011-08-16 21:29 -0600

csiph-web