From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 28 Jul 93 05:41:48 GMT From: cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!agate!libra ry.ucla.edu!ddsw1!news.kei.com!ub!dsinc!gvls1!lonjers@ucbvax.Berkeley.EDU (Jim Lonjers) Subject: Re: Underscore ("_") in numeric literals Message-ID: <1993Jul28.054148.18784@VFL.Paramax.COM> List-Id: In article <22lte3$nqm@nic.lth.se> dag@control.lth.se (Dag Bruck) writes: > >I would like to know to what extent people use undescore ("_") >characters in numeric literals, e.g., "100_000". Please send me your >opinions, etc. > >The reason is that the C++ standardization committees have received a >proposal to allow "_" in numeric literals. We are interested in some >sort of indication if people find this feature useful, and if it is >commonly used in languages that have it. If nobody uses "_" there is >no reason to add it to C++, and if it provides a significant >improvement in readability, C++ could use all the help it can get :-) > > > Thanks for your help, > > Dag Bruck We use _ in all of our constants of 5 digits or greater, and in many that are four digits long. Very useful. The Ada POSIX standard (IEEE Std 1003.5) uses it in the version identifier that is really a date. It has the form of dd_dddd (yes, four digits to the right of the underscore).