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

Bruce Evans bde at FreeBSD.org
Mon Oct 10 13:02:03 PDT 2005


bde         2005-10-10 20:02:02 UTC

  FreeBSD src repository

  Modified files:
    lib/msun/src         e_rem_pio2f.c 
  Log:
  Fixed range reduction near (but not very near) medium-sized multiples
  of pi/2 (1 line) and expand a comment about related magic (many lines).
  
  The bug was essentially the same as for the +-pi/2 case (a mistranslated
  mask), but was smaller so it only significantly affected multiples
  starting near +-13*pi/2.  At least on amd64, for cosf() on all 2^32
  float args, the bug caused 128 errors of >= 1 ulp, with a maximum error
  of 1.2393 ulps.
  
  Revision  Changes    Path
  1.11      +18 -3     src/lib/msun/src/e_rem_pio2f.c


More information about the cvs-src mailing list