digitalmars.D - Re: reddit.com: first Chapter of TDPL available for free
- Jeremie Pelletier <jeremiep gmail.com> Aug 04 2009
- bearophile <bearophileHUGS lycos.com> Aug 04 2009
Andrei Alexandrescu Wrote:KennyTM~ wrote:Andrei Alexandrescu wrote:http://www.reddit.com/r/programming/comments/975ng/diving_into_the_d_progra ming_language_tdpl/ (Don't tell anyone, but I plan to rewrite it.) Andrei
What's a "so-called IEEE 754 double-extended 79-bit format"? :p
Heck, I didn't know until I googled for it! BTW folks, please please vote the reddit link up. It's a simple and effective way to increase exposure to D and grow the community. http://www.reddit.com/r/programming/comments/975ng/diving_into_the_d_programming_language_tdpl/ Andrei
And I always thought it was double-extended 80-bit. The IEEE standard actually specifies >= 79 bits and Intel implements it as 80bits. Well you learn something new everyday!
Aug 04 2009
Jeremie Pelletier:And I always thought it was double-extended 80-bit. The IEEE standard actually specifies >= 79 bits and Intel implements it as 80bits.<
But it seems there are weird differences across operating systems regarding how much memory is allocated to represent such numbers, like 10, 12, 16 bytes on Windows, Linux, Mac (this comes from something Walter said when he has adapted DMD to the other OSs). Do you know why they have chosen different solutions regarding something so basic? (I don't even want to talk about the stupid endianess of CPUs). Bye, bearophile
Aug 04 2009