This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] convert_doublest_to_floatformat: handle off-range values.


> gdb/ChangeLog:
> 
>         * doublest.c (convert_doublest_to_floatformat): If the exponent
>         is too small, treat the value as zero.  If the exponent is too
>         large, treat the value as infinity.

FYI: I checked this patch in. We could do even better (for really
small numbers), but I don't think I will have much time in the near
future and this patch isn't making things more difficult in that
respect. In the meantime, I think this is an improvement over
the previous situation.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]