cvs commit: src/lib/msun/src s_log1p.c s_log1pf.c

Bruce Evans bde at FreeBSD.org
Sat Jan 19 10:13:21 PST 2008


bde         2008-01-19 18:13:21 UTC

  FreeBSD src repository

  Modified files:
    lib/msun/src         s_log1p.c s_log1pf.c 
  Log:
  Use STRICT_ASSIGN() for log1pf() and log1p() instead of a volatile cast
  hack for log1pf() only.  The cast hack broke with gcc-4, resulting in
  ~1 million errors of more than 1 ulp, with a maximum error of ~1.5 ulps.
  Now the maximum error for log1pf() on i386 is 0.5034 ulps again (this
  depends on extra precision), and log1p() has a chance of working with
  extra precision.
  
  See s_log1pf.c 1.8 for the original hack.  (It claims only 62343 large
  errors).
  
  Convert to _FBSDID().  Another thing broken with gcc-4 is the static
  const hack used for rcsids.
  
  Revision  Changes    Path
  1.9       +5 -4      src/lib/msun/src/s_log1p.c
  1.10      +5 -4      src/lib/msun/src/s_log1pf.c


More information about the cvs-all mailing list