Re: Decimal to floating point and floating point to decimal conversion

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

 



Most of the floating point code in the compiler is handled by emulation code since we can't rely on the native machine's floating-point hardware when cross compiling.

I think the file you want is gcc/real.cc

R.

On 10/07/2023 14:13, Matthias Pfaller wrote:
On 2023-07-10 14:59, Amit Hiremath via Gcc-help wrote:
Hello Jonathan,

I have attached the lex_number function snapshot. Is the majic happening
between line 15-20?

Regards,
-Amit

I'm pretty sure, that there is no number conversion done in the cited code sequence. If you are interested in ascii to floating point conversion, you might have a look at

https://arxiv.org/pdf/2101.11408

regards, Matthias




[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