public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Bytes of long double - trouble . . .
@ 2023-02-08  8:48 Sergey Smith
  2023-02-08  9:09 ` henri.cloetens
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sergey Smith @ 2023-02-08  8:48 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 808 bytes --]


To:     gcc-help@gcc.gnu.org     
Dear GCC,  [ 8:2:23  ]
                  Like Woooew ! What is THIS!?  I installed Visual Studio Code, & your 32 bit C, Version 9.2.0. I ran :
   printf("\nOn THIS particular computer, long double is given %d bytes\n", sizeof(long double)); /* The Answer was: 12 bytes.
   THEN, I updated to C Version 12.2.0 and ran the same code, - ON THE SAME COMPUTER, - but NOW the answer is:  16 bytes !
 
    HOW can this happen if, as I understand it, - this function is supposed to assess a computer’s  *hardware* ?  I am on Windows 10 btw.
                                                                                       — Sergey.
 
С уважением,
Sergey Smith
sergey-16a5@mail.ru

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-15 12:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08  8:48 Bytes of long double - trouble . . Sergey Smith
2023-02-08  9:09 ` henri.cloetens
2023-02-08 11:12   ` Jonathan Wakely
2023-02-08 11:11 ` Jonathan Wakely
2023-02-15 12:50 ` Dennis Clarke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).