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

David Schultz das at FreeBSD.org
Thu Feb 24 06:32:14 GMT 2005


das         2005-02-24 06:32:13 UTC

  FreeBSD src repository

  Modified files:
    lib/msun/src         e_expf.c 
  Log:
  Revert rev 1.8, which causes small (e.g. 2 ulp) errors for some
  inputs.  The trouble with replacing two floats with a double is that
  the latter has 6 extra bits of precision, which actually hurts
  accuracy in many cases.  All of the constants are optimal when float
  arithmetic is used, and would need to be recomputed to do this right.
  
  Noticed by:     bde (ucbtest)
  
  Revision  Changes    Path
  1.9       +13 -8     src/lib/msun/src/e_expf.c


More information about the cvs-src mailing list