Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2004 12:28:39 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/msun/src e_pow.c
Message-ID:  <200406011928.i51JSdOw070538@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406011928.i51JSdOw070538>