------- Comment #24 from dave at hiauly1 dot hia dot nrc dot ca  2007-05-12 
01:22 -------
Subject: Re:  [4.3 Regression] FAIL:
27_io/basic_istream/extractors_arithmetic/char/12.cc execution test

> which code do we have on hppa? _GLIBCXX_HAVE_STRTOLD is defined or not?

It's defined.

The 11.11 man page indicates that single-byte character code sets
are supported.  It also states that this function is "to be obsoleted
at a future date."

The code is:

  char* __sanity;
  long double __ld = strtold(__s, &__sanity);
  if (__sanity != __s
      && __ld != __builtin_huge_vall() && __ld != -__builtin_huge_vall())
    __v = __ld;

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31836

Reply via email to