Deutsch   English   Français   Italiano  
<20250408114545.0000016a@yahoo.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: "A diagram of C23 basic types"
Date: Tue, 8 Apr 2025 11:45:45 +0300
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <20250408114545.0000016a@yahoo.com>
References: <87y0wjaysg.fsf@gmail.com>
	<vsj1m8$1f8h2$1@dont-email.me>
	<vsj2l9$1j0as$1@dont-email.me>
	<vsjef3$1u4nk$1@dont-email.me>
	<vsjg6t$20pdb$1@dont-email.me>
	<vsjgjn$1v1n4$1@dont-email.me>
	<vsjk4k$24q5m$1@dont-email.me>
	<vsjlcp$230a5$1@dont-email.me>
	<vsni1v$291i3$5@dont-email.me>
	<vt13vp$bjs0$1@dont-email.me>
	<20250407211216.00006238@yahoo.com>
	<vt14u7$bjs0$2@dont-email.me>
	<vt1bmt$jf54$1@dont-email.me>
	<vt1h48$n5fs$1@dont-email.me>
	<vt1l83$n5fs$2@dont-email.me>
	<871pu3d1al.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 08 Apr 2025 10:45:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f8f05938c0624ef031ddc5236d047018";
	logging-data="1976762"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/7lVZcBaQKf6DfOLf3k/NVnrz21YqFe/U="
Cancel-Lock: sha1:SsM4xAR8XK0/8sBmczAoXhdB/lk=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
Bytes: 2302

On Mon, 07 Apr 2025 16:01:06 -0700
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:

> bart <bc@freeuk.com> writes:
> [...]
> > Since numbers using exponents without also using decimal points are
> > rare in my code base, I've decided to experiment with numbers like
> > 1e6 being integer constants rather that floats. (This is IN my
> > language.)  
> 
> You might want to look at Ada for existing practice.
> 
> In C, a constant with either a decimal point or an exponent is
> floating-point.  In Ada, 1.0e6 is floating-point and 1e6 is an
> integer. Of course this isn't very helpful if you want to represent
> numbers with a lot of non-zero digits; for that, you need digit
> separators.
> 
> [...]
> 

The same in VHDL.
I don't know about everybody, but for me it is a constant source of
syntax errors.