[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/18669] libiberty demangle.test failure: strtod() on sparc-
From: |
ibuclaw at gdcproject dot org |
Subject: |
[Bug binutils/18669] libiberty demangle.test failure: strtod() on sparc-sun-solaris2.9 does not accept hexadecimal numbers |
Date: |
Wed, 15 Jul 2015 09:00:47 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18669
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
I'd like to try and avoid removing this and just printing out the (fixed up)
hexadecimal float.
My preference would be for Libiberty to have a fallback like Gnulib, who's
strtod implementation handles incorrect conversions with their own rolled
parse_number routine.
> a = strtod("0x0A8P6Zv", &endptr);
This would have been re-written as 0x0.A8p6 before passing to strtod, but I
acknowledge what is going on.
--
You are receiving this mail because:
You are on the CC list for the bug.