September 09, 2002 Re: Specifying type of constants | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | "Pavel Minayev" <evilone@omen.ru> wrote in message news:alh5mc$18qv$1@digitaldaemon.com... > Mark Evans wrote: > > > So in general it's a Good Thing to have some syntax to specify the precision of > > numeric constants. Lacking one, I would definitely argue that all floating > > point numeric constants should be double precision, not single. > > AFAIK, both C++ and D treat no-suffix floating point constants as double! Yes, that's correct. |
Copyright © 1999-2021 by the D Language Foundation