Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 1997 03:54:02 -0800 (PST)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-lib
Subject:   cvs commit:  src/lib/msun/src e_hypotf.c
Message-ID:  <199703051154.DAA10529@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         97/03/05 03:54:01

  Modified:    lib/msun/src  e_hypotf.c
  Log:
  Fixed wrong magic numbers in scaling.  hypotf() was very broken for large
  and small values:
  
      hypotf(2.3819765e+38, 2.0416943e+38) was NaN instead of 3.1372484e+38
      hypotf(-3.4028235e+38, 3.3886450e+38) was NaN instead of Inf
      hypotf(-2.8025969e-45, -2.8025969e-45) was 0 instead of 4.2038954e-45
  
  Found by:	ucbtest
  
  Revision  Changes    Path
  1.5       +8 -8      src/lib/msun/src/e_hypotf.c



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