Re: Bytes of long double - trouble . . .

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sergey,  добрий ден !

This is most likely because, on the machine you are using,
the type long double is emulated in software, and the way it is
emulated is different in both versions.

Best Regards,
С уважением,

Henri.


Quoting Sergey Smith <sergey-16a5@xxxxxxx>:

To:     gcc-help@xxxxxxxxxxx    
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@xxxxxxx






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux