public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Decimal to floating point and floating point to decimal conversion
@ 2023-07-10 10:27 Amit Hiremath
  2023-07-10 11:42 ` Jonathan Wakely
  2023-07-10 18:22 ` henri.cloetens
  0 siblings, 2 replies; 13+ messages in thread
From: Amit Hiremath @ 2023-07-10 10:27 UTC (permalink / raw)
  To: gcc-help

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

Hi,

Can you please point me to codes in GCC where numbers in human readable
format to floating point and floating point to human readable format
conversion are taking place? For example: 3.2444422 -->404FA4F1-->3.2444422

int main ()
{
float a;

a= 3.2444422;

return 0;

}
when you generate asm code, the assembler code is converted to 404FA4F1. So
I am looking for a code in the gcc compiler.

Thanks,
-Amit

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

end of thread, other threads:[~2023-07-12  9:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-10 10:27 Decimal to floating point and floating point to decimal conversion Amit Hiremath
2023-07-10 11:42 ` Jonathan Wakely
2023-07-10 11:45   ` Jonathan Wakely
2023-07-10 12:59   ` Amit Hiremath
2023-07-10 13:13     ` Matthias Pfaller
2023-07-10 17:12       ` Richard Earnshaw
2023-07-10 18:22 ` henri.cloetens
2023-07-11  9:44   ` Jonathan Wakely
2023-07-11 12:33     ` henri.cloetens
2023-07-11 12:45       ` Jonathan Wakely
2023-07-11 12:47       ` Xi Ruoyao
2023-07-11 12:47       ` Andrew Haley
2023-07-12  9:16   ` Amit Hiremath

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).