Re: Motion 46: finalise interval literals, amendments
Michel,
> I wonder if Bugzilla #3479 (which I reported in 2006) has been fixed...
It has been fixed:
http://sourceware.org/bugzilla/show_bug.cgi?id=3479
My Ubuntu-13.04 box is with libc-2.17 . I tried you number, it passes.
===
3.518437208883201171875E+013
===
0x1.0000000000002p45
However, there is at least one bug still.
The decimal string with number 0.5*MIN_DBL must be rounded to 0 .
They round it to MIN_DBL .
===
2.4703282292062327208828439643411068618252990130716238221279284125033775363510437593264991818081799618989828234772285886546332835517796989819938739800539093906315035659515570226392290858392449105184435931802849936536152500319370457678249219365623669863658480757001585769269903706311928279558551332927834338409351978015531246597263579574622766465272827220056374006485499977096599470454020828166226237857393450736339007967761930577506740176324673600968951340535537458516661134223766678604162159680461914467291840300530057530849048765391711386591646239524912623653881879636239373280423891018672348497668235089863388587925628302755995657524455507255189313690836254779186948667994968324049705821028513185451396213837722826145437693412532098591327667236328125E-324
===
0x0.0000000000001p-1022
-Dima
----- Исходное сообщение -----
От: mhack@xxxxxxx
Кому: stds-1788@xxxxxxxxxxxxxxxxx
Отправленные: Вторник, 9 Июль 2013 г 16:52:38 GMT +04:00 Абу-Даби, Маскат
Тема: Re: Motion 46: finalise interval literals, amendments
> And should there be a limit on the size of the integers?
No -- that's the point of allowing exact rationals to be specified.
> Glibc implementation of strtod
I wonder if Bugzilla #3479 (which I reported in 2006) has been fixed...
Michel.
---Sent: 2013-07-09 12:50:32 UTC