cvs commit: src/lib/msun/src e_pow.c

Bruce Evans bde at FreeBSD.org
Tue Jun 1 12:28:39 PDT 2004


bde         2004/06/01 12:28:38 PDT

  FreeBSD src repository

  Modified files:
    lib/msun/src         e_pow.c 
  Log:
  Fixed the sign of the result in some overflow and underflow cases (ones
  where the exponent is an odd integer and the base is negative).
  
  Obtained from:  fdlibm-5.3
  
  Sun finally released a new version of fdlibm just a coupe of weeks
  ago.  It only fixes 3 bugs (this one, another one in pow() that we
  already have (rev.1.9), and one in tan().  I've learned too much about
  powf() lately, so this fix was easy to merge.  The patch is not verbatim,
  because our base version has many differences for portability and I
  didn't like global renaming of an unrelated variable to keep it separate
  from the sign variable.  This patch uses a new variable named sn for
  the sign.
  
  Revision  Changes    Path
  1.10      +18 -17    src/lib/msun/src/e_pow.c


More information about the cvs-src mailing list